Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 59.92 kB / 347.2 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2498, allocations: 49.15 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005257/0.2551, allocations: 4.19 MB / 400.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.2576, allocations: 1.238 MB / 401.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000677/0.2582, allocations: 14.44 kB / 401.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.2587, allocations: 114 kB / 401.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009966/0.2597, allocations: 252.1 kB / 402.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2608, allocations: 307.5 kB / 402.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.2624, allocations: 1.042 MB / 403.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.2628, allocations: 184.1 kB / 403.7 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007691/0.2636, allocations: 418.2 kB / 404.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006015/0.2642, allocations: 412.7 kB / 404.5 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.2644, allocations: 88.97 kB / 404.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.2646, allocations: 108.8 kB / 404.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.2648, allocations: 200.3 kB / 404.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.2651, allocations: 369.1 kB / 405.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.2662, allocations: 1.005 MB / 406.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2663, allocations: 5.375 kB / 406.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2663, allocations: 0 / 406.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.2663, allocations: 0 / 406.3 MB, free: 3.012 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002664/0.2689, allocations: 1.167 MB / 407.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.269, allocations: 13.3 kB / 407.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.2691, allocations: 106.3 kB / 407.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.2692, allocations: 88.92 kB / 407.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.2699, allocations: 406.8 kB / 408 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.27, allocations: 46.53 kB / 408.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.2701, allocations: 66.52 kB / 408.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.2714, allocations: 0.7637 MB / 408.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.2714, allocations: 5.156 kB / 408.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.2715, allocations: 26.02 kB / 408.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.2715, allocations: 15.72 kB / 408.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.2732, allocations: 0.6719 MB / 409.6 MB, free: 1.105 MB / 318.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.00355/0.2767, allocations: 1.827 MB / 411.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.2782, allocations: 0.5516 MB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007293/0.2789, allocations: 314.7 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/0.279, allocations: 6.031 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.28, allocations: 0.5471 MB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 4.649e-06/0.28, allocations: 4.891 kB / 412.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.06789/0.3479, allocations: 15.23 MB / 428.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.348, allocations: 149.5 kB / 428.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.3488, allocations: 0.4949 MB / 428.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.349, allocations: 45.7 kB / 428.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.3493, allocations: 372.8 kB / 429.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.3496, allocations: 329.2 kB / 429.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.35, allocations: 178.6 kB / 429.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3502, allocations: 382.8 kB / 430 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.3522, allocations: 0.7743 MB / 430.8 MB, free: 272 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/0.3547, allocations: 1.056 MB / 431.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/0.3588, allocations: 1.666 MB / 433.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3588, allocations: 4 kB / 433.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02283/0.3817, allocations: 5.37 MB / 438.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-05/0.3818, allocations: 63.41 kB / 438.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3818, allocations: 4 kB / 438.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03362/0.4154, allocations: 6.829 MB / 445.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/0.4163, allocations: 147.7 kB / 445.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006691/0.4229, allocations: 3.013 MB / 448.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.4247, allocations: 183.8 kB / 449.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.4248, allocations: 39.98 kB / 449.1 MB, free: 13.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (50): * Single equations (assignments): 46 * 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.0005057/0.4253, allocations: 229.6 kB / 449.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.4254, allocations: 83.42 kB / 449.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0221/0.4475, allocations: 5.064 MB / 454.5 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.4476, allocations: 8.25 kB / 454.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4476, allocations: 0 / 454.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/0.4476, allocations: 7.984 kB / 454.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.4491, allocations: 0.8459 MB / 455.4 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4491, allocations: 4 kB / 455.4 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.4497, allocations: 91.88 kB / 455.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03316/0.4828, allocations: 6.777 MB / 462.2 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/0.4831, allocations: 23.97 kB / 462.3 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006581/0.4896, allocations: 3.033 MB / 465.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4897, allocations: 0 / 465.3 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02416/0.5138, allocations: 5.948 MB / 471.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.5141, allocations: 71.5 kB / 471.3 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.5143, allocations: 20 kB / 471.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.5157, allocations: 171.8 kB / 471.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.516, allocations: 100.8 kB / 471.6 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.89e-05/0.516, allocations: 39.97 kB / 471.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000437/0.5165, allocations: 330.9 kB / 472 MB, free: 6.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5165, allocations: 0 / 472 MB, free: 6.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007612/0.5172, allocations: 252 kB / 472.2 MB, free: 6.34 MB / 382.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.02423/0.5415, allocations: 6.521 MB / 478.7 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006311/0.5478, allocations: 2.02 MB / 480.8 MB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5478, allocations: 3.938 kB / 480.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003494/0.5513, allocations: 1.015 MB / 481.8 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.5521, allocations: 130.4 kB / 481.9 MB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05524/0.6073, allocations: 15.91 MB / 497.8 MB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.6077, allocations: 352.9 kB / 498.2 MB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003805/0.6081, allocations: 58.06 kB / 498.2 MB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.6084, allocations: 263.3 kB / 498.5 MB, free: 11.65 MB / 414.1 MB Notification: Performance of SimCode: time 2.064e-06/0.6084, allocations: 3.938 kB / 498.5 MB, free: 11.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06615/0.6746, allocations: 26.63 MB / 0.5128 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.75, allocations: 8.062 kB / 0.5128 GB, free: 0.8516 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0397062 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.98008478526026] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 13.875578950159252 13.891528638 13.622094855 Calling exit ...