Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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.001307/0.001307, 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.001559/0.001559, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.474/1.474, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 59.91 kB / 377.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2615, allocations: 53.41 MB / 431.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005842/0.2673, allocations: 4.417 MB / 435.6 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.2697, allocations: 1.249 MB / 436.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.27, allocations: 11.94 kB / 436.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.2703, allocations: 126.7 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.2708, allocations: 265.6 kB / 437.2 MB, free: 396 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007731/0.2716, allocations: 311.5 kB / 437.5 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.2728, allocations: 1.095 MB / 438.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.2731, allocations: 176.7 kB / 438.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.2736, allocations: 438.5 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.2741, allocations: 414.1 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.2742, allocations: 92 kB / 439.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.2745, allocations: 119.9 kB / 439.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.2746, allocations: 203.3 kB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.275, allocations: 374.3 kB / 440.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.2761, allocations: 1.043 MB / 441.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2761, allocations: 0 / 441.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2761, allocations: 4 kB / 441.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2761, allocations: 4 kB / 441.4 MB, free: 12.14 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.002539/0.2787, allocations: 1.206 MB / 442.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2787, allocations: 11.98 kB / 442.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.2788, allocations: 110.7 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.279, allocations: 96.33 kB / 442.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007581/0.2797, allocations: 438 kB / 443.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.2798, allocations: 49.69 kB / 443.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2799, allocations: 72.33 kB / 443.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.2814, allocations: 0.7801 MB / 444.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2814, allocations: 0 / 444.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/0.2814, allocations: 28 kB / 444.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.2815, allocations: 12 kB / 444.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.2832, allocations: 0.6961 MB / 444.9 MB, free: 8.531 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.003749/0.2869, allocations: 1.885 MB / 446.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.2883, allocations: 0.5514 MB / 447.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/0.2891, allocations: 306.9 kB / 447.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.2891, allocations: 16.41 kB / 447.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.2901, allocations: 0.5448 MB / 448.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.404e-06/0.2901, allocations: 0 / 448.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06819/0.3583, allocations: 15.24 MB / 463.5 MB, free: 5.781 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.3585, allocations: 141.5 kB / 463.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000729/0.3592, allocations: 0.5302 MB / 464.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.3594, allocations: 45.7 kB / 464.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.3597, allocations: 396.6 kB / 464.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.36, allocations: 325.2 kB / 464.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000374/0.3604, allocations: 190.5 kB / 465.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.3606, allocations: 386.7 kB / 465.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.3627, allocations: 0.7863 MB / 466.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00232/0.365, allocations: 1.093 MB / 467.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00424/0.3693, allocations: 1.697 MB / 469 MB, free: 15.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.3693, allocations: 4 kB / 469 MB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0232/0.3925, allocations: 5.397 MB / 474.4 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-05/0.3926, allocations: 59.41 kB / 474.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.3926, allocations: 8 kB / 474.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03381/0.4264, allocations: 6.832 MB / 481.3 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007394/0.4271, allocations: 155.7 kB / 481.5 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/0.4334, allocations: 3.013 MB / 484.5 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.435, allocations: 191.8 kB / 484.7 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.4352, allocations: 47.92 kB / 484.7 MB, free: 104 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.0004685/0.4356, allocations: 237.1 kB / 485 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.4358, allocations: 83.48 kB / 485 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02188/0.4577, allocations: 5.06 MB / 490.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.4577, allocations: 8.25 kB / 490.1 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.4577, allocations: 0 / 490.1 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.4577, allocations: 7.984 kB / 490.1 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.4592, allocations: 0.8577 MB / 491 MB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4592, allocations: 0 / 491 MB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.4597, allocations: 99.81 kB / 491.1 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03302/0.4927, allocations: 6.773 MB / 497.8 MB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/0.4929, allocations: 19.98 kB / 497.9 MB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006019/0.499, allocations: 3.037 MB / 0.4892 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.499, allocations: 4 kB / 0.4892 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02418/0.5231, allocations: 5.948 MB / 0.495 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.5234, allocations: 75.44 kB / 0.495 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.5236, allocations: 20 kB / 0.4951 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.5249, allocations: 167.8 kB / 0.4952 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/0.5252, allocations: 96.83 kB / 0.4953 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.773e-05/0.5253, allocations: 31.98 kB / 0.4953 GB, free: 9.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005762/0.5259, allocations: 362.8 kB / 0.4957 GB, free: 9.066 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5259, allocations: 0 / 0.4957 GB, free: 9.066 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009498/0.5268, allocations: 263.9 kB / 0.4959 GB, free: 8.809 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.02441/0.5512, allocations: 6.524 MB / 0.5023 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005954/0.5572, allocations: 2.028 MB / 0.5043 GB, free: 176 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5572, allocations: 0 / 0.5043 GB, free: 176 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003457/0.5607, allocations: 1.015 MB / 0.5053 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.5614, allocations: 133.2 kB / 0.5054 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05449/0.6159, allocations: 16.16 MB / 0.5212 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.6164, allocations: 353.8 kB / 0.5215 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.6168, allocations: 54.28 kB / 0.5216 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.6172, allocations: 275.3 kB / 0.5218 GB, free: 13.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.703e-06/0.6172, allocations: 0 / 0.5218 GB, free: 13.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3055/0.9227, allocations: 27.08 MB / 0.5483 GB, free: 105.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.46, allocations: 8.75 kB / 0.5483 GB, free: 105.5 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_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_HeatingPNP_NORGate.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.92901573702693] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.600623602047563 14.611978083 14.333402607 Calling exit ...