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.0008698/0.0008698, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000879/0.000879, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9303/0.9303, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.914e-06/1.914e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.017e-05, allocations: 2.281 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.004205/0.004225, allocations: 4.443 MB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.006377, allocations: 1.252 MB / 330.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/0.006688, allocations: 11.94 kB / 330.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.006957, allocations: 130.7 kB / 330.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.007329, allocations: 273.4 kB / 330.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.007885, allocations: 319.3 kB / 331 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007108/0.008596, allocations: 1.134 MB / 332.1 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.008857, allocations: 183 kB / 332.3 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.009331, allocations: 0.608 MB / 332.9 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003208/0.009652, allocations: 363 kB / 333.3 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.945e-05/0.009751, allocations: 88 kB / 333.4 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.009903, allocations: 115.9 kB / 333.5 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.01001, allocations: 203.3 kB / 333.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.01022, allocations: 323.2 kB / 334 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.01099, allocations: 1.079 MB / 335.1 MB, free: 5.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.01099, allocations: 4 kB / 335.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01099, allocations: 0 / 335.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.011, allocations: 0 / 335.1 MB, free: 5.359 MB / 298.7 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.001525/0.01253, allocations: 1.204 MB / 336.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.01257, allocations: 12.02 kB / 336.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.794e-05/0.01266, allocations: 106.7 kB / 336.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.01278, allocations: 100.3 kB / 336.5 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.01329, allocations: 425.3 kB / 336.9 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.01332, allocations: 53.62 kB / 337 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.01339, allocations: 64.33 kB / 337 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009981/0.01439, allocations: 0.7845 MB / 337.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.01441, allocations: 192 / 337.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.01445, allocations: 28.12 kB / 337.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.01446, allocations: 16 kB / 337.9 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009613/0.01542, allocations: 0.6922 MB / 338.5 MB, free: 1.762 MB / 298.7 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.00223/0.01765, allocations: 1.894 MB / 340.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.01879, allocations: 0.5476 MB / 341 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.0192, allocations: 314.1 kB / 341.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.01924, allocations: 4.5 kB / 341.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/0.01982, allocations: 0.5497 MB / 341.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 1.653e-06/0.01982, allocations: 0 / 341.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.03676/0.05659, allocations: 15.24 MB / 357.1 MB, free: 15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.0567, allocations: 145.5 kB / 357.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.05726, allocations: 0.5302 MB / 357.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.05742, allocations: 49.7 kB / 357.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.05765, allocations: 392.7 kB / 358.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.05787, allocations: 325.2 kB / 358.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.05811, allocations: 186.5 kB / 358.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.05823, allocations: 382.8 kB / 359.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.05943, allocations: 0.7824 MB / 359.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.06072, allocations: 1.081 MB / 360.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/0.06333, allocations: 1.704 MB / 362.6 MB, free: 9.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.06334, allocations: 4 kB / 362.6 MB, free: 9.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01171/0.07505, allocations: 5.401 MB / 368 MB, free: 3.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.327e-05/0.07512, allocations: 63.39 kB / 368.1 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.07514, allocations: 8 kB / 368.1 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01689/0.09203, allocations: 6.844 MB / 375 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.09244, allocations: 147.8 kB / 375.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/0.09672, allocations: 3.168 MB / 378.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009203/0.09764, allocations: 187.8 kB / 378.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.09771, allocations: 55.94 kB / 378.5 MB, free: 9.168 MB / 346.7 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.0003545/0.09807, allocations: 229.6 kB / 378.7 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/0.09816, allocations: 83.48 kB / 378.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.1095, allocations: 5.068 MB / 383.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.1095, allocations: 12 kB / 383.9 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.1095, allocations: 3.984 kB / 383.9 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.1096, allocations: 3.984 kB / 383.9 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1107, allocations: 0.8473 MB / 384.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.1107, allocations: 0 / 384.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.1109, allocations: 103.8 kB / 384.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01622/0.1272, allocations: 6.785 MB / 391.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.1273, allocations: 19.98 kB / 391.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003506/0.1308, allocations: 3.041 MB / 394.7 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1308, allocations: 0 / 394.7 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/0.1434, allocations: 5.956 MB / 400.6 MB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.1436, allocations: 71.47 kB / 400.7 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.1437, allocations: 24 kB / 400.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.1444, allocations: 167.8 kB / 400.9 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.1445, allocations: 96.83 kB / 401 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/0.1446, allocations: 39.91 kB / 401 MB, free: 2.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002934/0.1449, allocations: 354.8 kB / 401.4 MB, free: 2.109 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1449, allocations: 0 / 401.4 MB, free: 2.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.1454, allocations: 256 kB / 401.6 MB, free: 1.859 MB / 362.7 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.01286/0.1583, allocations: 6.544 MB / 408.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003768/0.1621, allocations: 2.161 MB / 410.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1621, allocations: 8.125 kB / 410.3 MB, free: 9.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.1639, allocations: 1.019 MB / 411.4 MB, free: 8.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.1645, allocations: 126.2 kB / 411.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02982/0.1943, allocations: 16.13 MB / 427.6 MB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.1945, allocations: 353.8 kB / 428 MB, free: 7.047 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.1947, allocations: 58.27 kB / 428 MB, free: 6.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.195, allocations: 280.4 kB / 428.3 MB, free: 6.715 MB / 394.7 MB Notification: Performance of SimCode: time 1.442e-06/0.195, allocations: 4 kB / 428.3 MB, free: 6.711 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1774/0.3724, allocations: 27.07 MB / 455.4 MB, free: 124.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.643/9.016, allocations: 7.797 kB / 455.4 MB, free: 124.3 MB / 410.7 MB " [Timeout remaining time 651] (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: 10.837130262516439] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 9.122323566116393 9.12940323 9.117111202 Calling exit ...