Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.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.001518/0.001518, allocations: 103.6 kB / 21.18 MB, free: 332 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.001901/0.001901, allocations: 212 kB / 24.47 MB, free: 3.547 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.354/1.354, allocations: 207.7 MB / 235.3 MB, free: 9.789 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.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate",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.00175/0.00175, allocations: 58.58 kB / 347.2 MB, free: 9.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2396, allocations: 49.16 MB / 396.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate): time 0.004787/0.2444, allocations: 4.198 MB / 400.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.2466, allocations: 1.24 MB / 401.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.247, allocations: 13.53 kB / 401.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.2473, allocations: 113.4 kB / 401.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.2477, allocations: 253.7 kB / 402.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.2484, allocations: 302.8 kB / 402.5 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.2494, allocations: 1.06 MB / 403.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.2497, allocations: 174.7 kB / 403.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.2502, allocations: 422.1 kB / 404.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.2507, allocations: 406.5 kB / 404.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.2509, allocations: 87.78 kB / 404.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.2511, allocations: 109.5 kB / 404.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.2512, allocations: 201.1 kB / 404.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.2516, allocations: 361 kB / 405.3 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009657/0.2525, allocations: 1.015 MB / 406.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2525, allocations: 0 / 406.3 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2525, allocations: 5.688 kB / 406.3 MB, free: 3.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.2526, allocations: 0 / 406.3 MB, free: 3.207 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.00216/0.2547, allocations: 1.159 MB / 407.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2548, allocations: 17.58 kB / 407.4 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.2549, allocations: 102 kB / 407.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.255, allocations: 88.77 kB / 407.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.2556, allocations: 406.7 kB / 408 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.2557, allocations: 46.75 kB / 408.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2558, allocations: 57.67 kB / 408.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.2571, allocations: 0.7688 MB / 408.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.2571, allocations: 1.375 kB / 408.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.2572, allocations: 26.67 kB / 408.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.2572, allocations: 19.11 kB / 408.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.2587, allocations: 0.6719 MB / 409.6 MB, free: 1.289 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.003401/0.2621, allocations: 1.826 MB / 411.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.2636, allocations: 0.5471 MB / 412 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.2643, allocations: 312.1 kB / 412.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.2643, allocations: 9.734 kB / 412.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.2653, allocations: 0.5517 MB / 412.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.534e-06/0.2653, allocations: 0 / 412.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.0672/0.3325, allocations: 15.25 MB / 428.1 MB, free: 3.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3326, allocations: 141.5 kB / 428.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.3333, allocations: 0.491 MB / 428.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.3334, allocations: 49.7 kB / 428.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.3337, allocations: 372.8 kB / 429.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.334, allocations: 329.2 kB / 429.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/0.3344, allocations: 178.6 kB / 429.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3346, allocations: 386.8 kB / 430 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.3366, allocations: 0.7704 MB / 430.8 MB, free: 416 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.3388, allocations: 1.056 MB / 431.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/0.3428, allocations: 1.67 MB / 433.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3429, allocations: 0 / 433.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0227/0.3655, allocations: 5.381 MB / 438.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.598e-05/0.3656, allocations: 67.39 kB / 439 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3656, allocations: 4 kB / 439 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03306/0.3987, allocations: 6.836 MB / 445.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.3994, allocations: 143.7 kB / 445.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/0.4065, allocations: 3.161 MB / 449.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.4082, allocations: 179.8 kB / 449.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.4083, allocations: 43.98 kB / 449.3 MB, free: 13.55 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.0004364/0.4087, allocations: 229.6 kB / 449.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.4089, allocations: 79.48 kB / 449.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02154/0.4304, allocations: 5.06 MB / 454.7 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.4304, allocations: 8.25 kB / 454.7 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4304, allocations: 4 kB / 454.7 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.4305, allocations: 15.91 kB / 454.7 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.4319, allocations: 0.8458 MB / 455.6 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4319, allocations: 4 kB / 455.6 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.4324, allocations: 83.89 kB / 455.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03236/0.4647, allocations: 6.785 MB / 462.4 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002094/0.4649, allocations: 27.98 kB / 462.5 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005895/0.4708, allocations: 3.041 MB / 465.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4708, allocations: 3.938 kB / 465.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02377/0.4946, allocations: 5.96 MB / 471.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.4948, allocations: 71.5 kB / 471.5 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.495, allocations: 16 kB / 471.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.4963, allocations: 175.8 kB / 471.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.4966, allocations: 96.83 kB / 471.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.042e-05/0.4967, allocations: 35.97 kB / 471.8 MB, free: 6.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004118/0.4971, allocations: 330.9 kB / 472.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4971, allocations: 0 / 472.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007346/0.4978, allocations: 252 kB / 472.4 MB, free: 6.289 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.02434/0.5221, allocations: 6.53 MB / 478.9 MB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006631/0.5288, allocations: 2.145 MB / 481.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5288, allocations: 0 / 481.1 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003391/0.5322, allocations: 1.03 MB / 482.1 MB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.5329, allocations: 134.4 kB / 482.3 MB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05342/0.5863, allocations: 15.91 MB / 498.2 MB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.5867, allocations: 341 kB / 498.5 MB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003236/0.587, allocations: 58.06 kB / 498.6 MB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.5873, allocations: 259.3 kB / 498.8 MB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5873, allocations: 3.938 kB / 498.8 MB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06283/0.6502, allocations: 26.58 MB / 0.5131 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.6, allocations: 8.047 kB / 0.5131 GB, free: 0.7188 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396668 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingNPN_OrGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingNPN_OrGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.814593695104122] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 13.729314213618636 13.745762502 13.490076048 Calling exit ...