Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 115.8 kB / 17.74 MB, free: 5.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 185.3 kB / 20.68 MB, free: 2.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 246.4 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 47.92 kB / 357.5 MB, free: 8.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1022, allocations: 49.44 MB / 406.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006761/0.109, allocations: 4.95 MB / 411.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.112, allocations: 1.264 MB / 413.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006514/0.1126, allocations: 15.94 kB / 413.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.1131, allocations: 118.7 kB / 413.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.1142, allocations: 257.6 kB / 413.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1153, allocations: 307.5 kB / 413.8 MB, free: 376 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.1171, allocations: 1.103 MB / 414.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.1177, allocations: 262.7 kB / 415.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007678/0.1184, allocations: 418.6 kB / 415.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000762/0.1192, allocations: 470 kB / 416.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.1195, allocations: 88 kB / 416.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.1198, allocations: 108 kB / 416.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.1201, allocations: 195.3 kB / 416.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006643/0.1207, allocations: 445.8 kB / 416.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.1223, allocations: 1.011 MB / 417.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1223, allocations: 0 / 417.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1223, allocations: 4 kB / 417.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-05/0.1224, allocations: 0 / 417.9 MB, free: 12.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.003205/0.1256, allocations: 1.281 MB / 419.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.1257, allocations: 12.03 kB / 419.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.1258, allocations: 106.7 kB / 419.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.126, allocations: 96.38 kB / 419.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008505/0.1269, allocations: 491.9 kB / 419.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.127, allocations: 49.69 kB / 419.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.1271, allocations: 72.36 kB / 420 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.1286, allocations: 0.6507 MB / 420.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1287, allocations: 0 / 420.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.1288, allocations: 31.94 kB / 420.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.1288, allocations: 12 kB / 420.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.1306, allocations: 0.6999 MB / 421.4 MB, free: 8.664 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.135, allocations: 2.383 MB / 423.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.1365, allocations: 0.5904 MB / 424.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.1373, allocations: 330.6 kB / 424.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.1374, allocations: 20.34 kB / 424.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009677/0.1384, allocations: 421.5 kB / 425.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.425e-06/0.1384, allocations: 0 / 425.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.2454/0.3838, allocations: 15.43 MB / 440.5 MB, free: 21.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.3839, allocations: 144.4 kB / 440.7 MB, free: 21.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/0.3846, allocations: 0.5184 MB / 441.2 MB, free: 21.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.3847, allocations: 41.64 kB / 441.2 MB, free: 21.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.385, allocations: 395.9 kB / 441.6 MB, free: 20.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.3852, allocations: 330.5 kB / 442 MB, free: 20.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.3856, allocations: 190.2 kB / 442.1 MB, free: 20.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.3857, allocations: 385.2 kB / 442.5 MB, free: 20.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001853/0.3875, allocations: 0.7234 MB / 443.2 MB, free: 20.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.3895, allocations: 0.9525 MB / 444.2 MB, free: 20 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/0.3934, allocations: 1.696 MB / 445.9 MB, free: 19.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3935, allocations: 1.5 kB / 445.9 MB, free: 19.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02135/0.4148, allocations: 5.382 MB / 451.3 MB, free: 17.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/0.4149, allocations: 63.75 kB / 451.3 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.415, allocations: 11.94 kB / 451.3 MB, free: 17.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03037/0.4454, allocations: 6.846 MB / 458.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.4461, allocations: 147 kB / 458.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005668/0.4518, allocations: 3.163 MB / 461.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.4533, allocations: 179.7 kB / 461.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/0.4534, allocations: 43.98 kB / 461.7 MB, free: 9.977 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0003669/0.4538, allocations: 229.6 kB / 461.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.4539, allocations: 84.05 kB / 462 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01937/0.4733, allocations: 5.117 MB / 467.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.4734, allocations: 15.98 kB / 467.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4734, allocations: 0 / 467.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.4734, allocations: 3.984 kB / 467.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.4749, allocations: 1.105 MB / 468.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.4749, allocations: 3.938 kB / 468.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.4754, allocations: 87.88 kB / 468.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03143/0.5068, allocations: 6.798 MB / 475.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002848/0.5072, allocations: 27.97 kB / 475.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006133/0.5133, allocations: 3.044 MB / 478.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5134, allocations: 0 / 478.2 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02352/0.5369, allocations: 6.003 MB / 484.2 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.5372, allocations: 144.6 kB / 484.4 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.5374, allocations: 19.98 kB / 484.4 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.5387, allocations: 172.9 kB / 484.6 MB, free: 3.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.539, allocations: 92.88 kB / 484.6 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.416e-05/0.5391, allocations: 37.94 kB / 484.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004416/0.5395, allocations: 354.8 kB / 485 MB, free: 2.535 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5395, allocations: 0 / 485 MB, free: 2.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007376/0.5403, allocations: 260 kB / 485.3 MB, free: 2.281 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02445/0.5647, allocations: 6.575 MB / 491.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006985/0.5718, allocations: 2.188 MB / 494.1 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.5718, allocations: 4 kB / 494.1 MB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003593/0.5754, allocations: 1.097 MB / 495.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.5762, allocations: 130.5 kB / 495.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05463/0.6308, allocations: 15.98 MB / 0.4993 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.6314, allocations: 0.9468 MB / 0.5002 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003221/0.6318, allocations: 62.22 kB / 0.5003 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/0.6321, allocations: 271.3 kB / 0.5005 GB, free: 6.695 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6322, allocations: 0 / 0.5005 GB, free: 6.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0657/0.6979, allocations: 29.55 MB / 0.5294 GB, free: 9.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.75, allocations: 4.062 kB / 0.5294 GB, free: 9.41 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.09461205592379] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 13.854661086807027 13.868304337 13.743455 Calling exit ...