Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00172/0.00172, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002363/0.002363, allocations: 214.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 63.89 kB / 377.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2839, allocations: 53.4 MB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate): time 0.006306/0.2902, allocations: 4.433 MB / 435.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002762/0.2929, allocations: 1.248 MB / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.2933, allocations: 11.94 kB / 436.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.2937, allocations: 126.7 kB / 437 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.2943, allocations: 261.6 kB / 437.2 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.2951, allocations: 319.5 kB / 437.5 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.2963, allocations: 1.095 MB / 438.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.2967, allocations: 175 kB / 438.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005488/0.2972, allocations: 434.5 kB / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.2978, allocations: 418.1 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.2979, allocations: 88 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.2982, allocations: 119.9 kB / 439.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.2983, allocations: 211.2 kB / 440 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.2987, allocations: 370.4 kB / 440.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2999, allocations: 1.043 MB / 441.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2999, allocations: 0 / 441.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2999, allocations: 0 / 441.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.2999, allocations: 0 / 441.5 MB, free: 12.09 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.002586/0.3025, allocations: 1.217 MB / 442.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3025, allocations: 11.98 kB / 442.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.3026, allocations: 106.7 kB / 442.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.3028, allocations: 104.3 kB / 442.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.3035, allocations: 434 kB / 443.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.3036, allocations: 45.69 kB / 443.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.3037, allocations: 68.33 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.3051, allocations: 0.7801 MB / 444.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.3051, allocations: 4 kB / 444.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.3052, allocations: 24 kB / 444.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.3052, allocations: 16 kB / 444.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.3069, allocations: 0.6922 MB / 444.9 MB, free: 8.484 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.003764/0.3107, allocations: 1.881 MB / 446.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.3121, allocations: 0.5553 MB / 447.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007472/0.3129, allocations: 314.9 kB / 447.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.3129, allocations: 4.438 kB / 447.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.314, allocations: 0.5487 MB / 448.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.395e-06/0.314, allocations: 0 / 448.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06856/0.3825, allocations: 15.24 MB / 463.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/0.3827, allocations: 145.5 kB / 463.6 MB, free: 5.555 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008344/0.3836, allocations: 0.5263 MB / 464.1 MB, free: 5.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.3837, allocations: 45.69 kB / 464.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.3841, allocations: 396.7 kB / 464.6 MB, free: 4.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/0.3844, allocations: 333.2 kB / 464.9 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.3848, allocations: 186.5 kB / 465.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.385, allocations: 390.7 kB / 465.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.3871, allocations: 0.7785 MB / 466.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.3894, allocations: 1.085 MB / 467.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004147/0.3935, allocations: 1.701 MB / 469 MB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.3935, allocations: 4 kB / 469 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02251/0.4161, allocations: 5.397 MB / 474.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.908e-05/0.4162, allocations: 63.39 kB / 474.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.4162, allocations: 8 kB / 474.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03296/0.4491, allocations: 6.848 MB / 481.3 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.4498, allocations: 147.7 kB / 481.5 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00687/0.4567, allocations: 3.165 MB / 484.7 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.4583, allocations: 191.9 kB / 484.8 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.4584, allocations: 51.91 kB / 484.9 MB, free: 15.89 MB / 398.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.0004121/0.4588, allocations: 233.2 kB / 485.1 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.4589, allocations: 87.48 kB / 485.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02206/0.481, allocations: 5.068 MB / 490.3 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.481, allocations: 12 kB / 490.3 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.481, allocations: 0 / 490.3 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/0.4811, allocations: 7.969 kB / 490.3 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.4824, allocations: 0.8499 MB / 491.1 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.4824, allocations: 4 kB / 491.2 MB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.4829, allocations: 91.88 kB / 491.2 MB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03266/0.5156, allocations: 6.793 MB / 498 MB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/0.5158, allocations: 19.98 kB / 498.1 MB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006052/0.5219, allocations: 3.045 MB / 0.4894 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5219, allocations: 0 / 0.4894 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02411/0.546, allocations: 5.96 MB / 0.4952 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.5462, allocations: 75.44 kB / 0.4952 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.5463, allocations: 16.25 kB / 0.4953 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.5477, allocations: 171.8 kB / 0.4954 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.548, allocations: 100.8 kB / 0.4955 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.91e-05/0.5481, allocations: 35.97 kB / 0.4956 GB, free: 9.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004438/0.5485, allocations: 358.8 kB / 0.4959 GB, free: 8.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5485, allocations: 0 / 0.4959 GB, free: 8.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007434/0.5492, allocations: 259.9 kB / 0.4961 GB, free: 8.559 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.02488/0.5741, allocations: 6.535 MB / 0.5025 GB, free: 1.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007058/0.5812, allocations: 2.16 MB / 0.5046 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.5812, allocations: 4 kB / 0.5046 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003544/0.5847, allocations: 1.008 MB / 0.5056 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.5855, allocations: 132.9 kB / 0.5058 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05495/0.6405, allocations: 16.15 MB / 0.5215 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.6408, allocations: 349.8 kB / 0.5219 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004133/0.6413, allocations: 62.27 kB / 0.5219 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/0.6417, allocations: 275.3 kB / 0.5222 GB, free: 13.41 MB / 446.1 MB Notification: Performance of SimCode: time 1.743e-06/0.6417, allocations: 0 / 0.5222 GB, free: 13.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2564/0.8981, allocations: 27.03 MB / 0.5486 GB, free: 105.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.49, allocations: 8.734 kB / 0.5486 GB, free: 105.1 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_HeatingNPN_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingNPN_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.08866013493389] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.627520648296922 14.643501867 14.340477633999999 Calling exit ...