Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_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.002069/0.002069, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.00249/0.00249, allocations: 210.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 55.92 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2746, allocations: 53.35 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006307/0.2809, allocations: 4.433 MB / 435.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.2838, allocations: 1.245 MB / 436.8 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.2843, allocations: 19.88 kB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.2847, allocations: 118.7 kB / 436.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006017/0.2853, allocations: 269.6 kB / 437.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.2861, allocations: 303.5 kB / 437.5 MB, free: 220 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.2873, allocations: 1.095 MB / 438.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.2876, allocations: 176.7 kB / 438.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000502/0.2882, allocations: 434.5 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000602/0.2888, allocations: 426 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.2889, allocations: 92 kB / 439.7 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.2891, allocations: 116 kB / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.2893, allocations: 203.3 kB / 440 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003876/0.2897, allocations: 382.3 kB / 440.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.2909, allocations: 1.043 MB / 441.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2909, allocations: 4 kB / 441.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2909, allocations: 0 / 441.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.2909, allocations: 0 / 441.4 MB, free: 12.26 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.00244/0.2933, allocations: 1.206 MB / 442.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2934, allocations: 8.031 kB / 442.6 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.2935, allocations: 110.7 kB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.2936, allocations: 100.3 kB / 442.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.2943, allocations: 426.1 kB / 443.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.2944, allocations: 49.67 kB / 443.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.2945, allocations: 68.33 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.2959, allocations: 0.784 MB / 444.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.2959, allocations: 0 / 444.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.296, allocations: 31.98 kB / 444.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.296, allocations: 12 kB / 444.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.2977, allocations: 0.6921 MB / 444.9 MB, free: 8.672 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.003735/0.3014, allocations: 1.885 MB / 446.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.3028, allocations: 0.5599 MB / 447.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.3036, allocations: 309.9 kB / 447.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.3036, allocations: 12.44 kB / 447.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.3046, allocations: 0.5371 MB / 448.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.934e-06/0.3046, allocations: 0 / 448.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06718/0.3718, allocations: 15.25 MB / 463.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.3719, allocations: 145.5 kB / 463.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.3727, allocations: 0.5302 MB / 464.1 MB, free: 5.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.3728, allocations: 45.7 kB / 464.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.3732, allocations: 400.6 kB / 464.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.3735, allocations: 325.2 kB / 464.9 MB, free: 4.422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.3738, allocations: 190.5 kB / 465 MB, free: 4.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.374, allocations: 386.7 kB / 465.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.3761, allocations: 0.7785 MB / 466.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.3783, allocations: 1.088 MB / 467.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004072/0.3824, allocations: 1.697 MB / 469 MB, free: 52 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3824, allocations: 0 / 469 MB, free: 52 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02259/0.405, allocations: 5.405 MB / 474.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/0.4051, allocations: 67.39 kB / 474.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.4051, allocations: 7.938 kB / 474.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03271/0.4378, allocations: 6.845 MB / 481.3 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.4385, allocations: 151.7 kB / 481.4 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006931/0.4455, allocations: 3.157 MB / 484.6 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.4471, allocations: 179.8 kB / 484.8 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.4472, allocations: 51.91 kB / 484.8 MB, free: 72 kB / 382.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.0004605/0.4477, allocations: 233.6 kB / 485.1 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.4479, allocations: 83.48 kB / 485.1 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02148/0.4693, allocations: 5.068 MB / 490.2 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.4694, allocations: 8.047 kB / 490.2 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4694, allocations: 4.234 kB / 490.2 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/0.4694, allocations: 3.984 kB / 490.2 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.4708, allocations: 0.8655 MB / 491.1 MB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.4708, allocations: 0 / 491.1 MB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.4713, allocations: 91.89 kB / 491.2 MB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03226/0.5035, allocations: 6.789 MB / 498 MB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002535/0.5038, allocations: 23.98 kB / 498 MB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005917/0.5097, allocations: 3.041 MB / 0.4893 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5097, allocations: 11.92 kB / 0.4893 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02379/0.5335, allocations: 5.952 MB / 0.4951 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.5337, allocations: 71.45 kB / 0.4952 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.534, allocations: 19.98 kB / 0.4952 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.5354, allocations: 167.9 kB / 0.4954 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.5357, allocations: 104.8 kB / 0.4955 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.5358, allocations: 27.97 kB / 0.4955 GB, free: 9.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004472/0.5363, allocations: 358.8 kB / 0.4958 GB, free: 8.996 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5363, allocations: 0 / 0.4958 GB, free: 8.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007805/0.537, allocations: 263.9 kB / 0.4961 GB, free: 8.738 MB / 414.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.02461/0.5616, allocations: 6.535 MB / 0.5025 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007267/0.5689, allocations: 2.152 MB / 0.5046 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5689, allocations: 1.375 kB / 0.5046 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003571/0.5725, allocations: 1.019 MB / 0.5056 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000868/0.5734, allocations: 137.2 kB / 0.5057 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05401/0.6274, allocations: 16.14 MB / 0.5215 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.6278, allocations: 353.8 kB / 0.5218 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003523/0.6281, allocations: 58.27 kB / 0.5218 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.6285, allocations: 275.3 kB / 0.5221 GB, free: 13.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6285, allocations: 0 / 0.5221 GB, free: 13.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2464/0.8749, allocations: 27.03 MB / 0.5485 GB, free: 105.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.3, allocations: 15.38 kB / 0.5485 GB, free: 105.5 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0396747 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.80978861404583] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.42896641092375 14.446407418 14.152036733 Calling exit ...