Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_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.00181/0.00181, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002238/0.002238, allocations: 214.2 kB / 23.72 MB, free: 4.531 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.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 55.91 kB / 377.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2634, allocations: 53.35 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005891/0.2693, allocations: 4.417 MB / 435.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.2719, allocations: 1.245 MB / 436.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.2722, allocations: 15.94 kB / 436.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.2725, allocations: 118.7 kB / 436.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.273, allocations: 265.6 kB / 437.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.2738, allocations: 319.5 kB / 437.5 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.2749, allocations: 1.088 MB / 438.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.2753, allocations: 192.7 kB / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.2758, allocations: 438.4 kB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.2764, allocations: 482 kB / 439.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.2765, allocations: 92 kB / 439.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.2767, allocations: 112 kB / 439.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.2769, allocations: 199.3 kB / 440 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000381/0.2773, allocations: 386.2 kB / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.2785, allocations: 1.043 MB / 441.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2785, allocations: 0 / 441.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2785, allocations: 0 / 441.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.2785, allocations: 4 kB / 441.5 MB, free: 12.23 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.002777/0.2813, allocations: 1.209 MB / 442.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.2814, allocations: 8.031 kB / 442.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.2815, allocations: 106.7 kB / 442.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.2817, allocations: 100.3 kB / 442.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008505/0.2825, allocations: 434.1 kB / 443.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/0.2826, allocations: 49.69 kB / 443.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.2827, allocations: 68.33 kB / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.2842, allocations: 0.7801 MB / 444.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.2842, allocations: 0 / 444.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.2843, allocations: 32 kB / 444.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.2843, allocations: 12 kB / 444.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.286, allocations: 0.696 MB / 444.9 MB, free: 8.637 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.003966/0.29, allocations: 1.881 MB / 446.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.2914, allocations: 0.5547 MB / 447.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/0.2921, allocations: 317.9 kB / 447.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.134e-05/0.2922, allocations: 8.422 kB / 447.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.2933, allocations: 0.541 MB / 448.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.745e-06/0.2933, allocations: 0 / 448.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06521/0.3585, allocations: 15.24 MB / 463.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.3587, allocations: 145.5 kB / 463.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/0.3594, allocations: 0.5302 MB / 464.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.3596, allocations: 41.7 kB / 464.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.3599, allocations: 400.6 kB / 464.6 MB, free: 4.727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/0.3602, allocations: 325.2 kB / 464.9 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.3606, allocations: 198.5 kB / 465.1 MB, free: 4.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3608, allocations: 386.7 kB / 465.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.3628, allocations: 0.7824 MB / 466.2 MB, free: 3.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.3652, allocations: 1.085 MB / 467.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004123/0.3693, allocations: 1.693 MB / 469 MB, free: 36 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.3693, allocations: 4 kB / 469 MB, free: 32 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02236/0.3916, allocations: 5.397 MB / 474.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/0.3917, allocations: 63.41 kB / 474.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.3917, allocations: 15.88 kB / 474.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03221/0.424, allocations: 6.829 MB / 481.3 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.4247, allocations: 147.7 kB / 481.5 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/0.4306, allocations: 3.017 MB / 484.5 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.4322, allocations: 183.8 kB / 484.7 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.4323, allocations: 47.92 kB / 484.7 MB, free: 216 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.0004922/0.4328, allocations: 240.6 kB / 485 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.433, allocations: 83.48 kB / 485 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02123/0.4542, allocations: 5.064 MB / 490.1 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.4543, allocations: 12 kB / 490.1 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4543, allocations: 0 / 490.1 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.4543, allocations: 3.984 kB / 490.1 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.4557, allocations: 0.8616 MB / 491 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.4557, allocations: 0 / 491 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.4562, allocations: 91.88 kB / 491.1 MB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03195/0.4881, allocations: 6.773 MB / 497.8 MB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.4883, allocations: 19.98 kB / 497.9 MB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005774/0.4941, allocations: 3.041 MB / 0.4892 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4941, allocations: 0 / 0.4892 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02304/0.5172, allocations: 5.952 MB / 0.495 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.5174, allocations: 75.44 kB / 0.495 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.5175, allocations: 16 kB / 0.4951 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.5188, allocations: 171.8 kB / 0.4952 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/0.519, allocations: 100.8 kB / 0.4953 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.478e-05/0.5191, allocations: 31.98 kB / 0.4954 GB, free: 9.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004221/0.5196, allocations: 354.8 kB / 0.4957 GB, free: 9.176 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5196, allocations: 0 / 0.4957 GB, free: 9.176 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007357/0.5203, allocations: 263.9 kB / 0.4959 GB, free: 8.918 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.02396/0.5442, allocations: 6.528 MB / 0.5023 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006078/0.5503, allocations: 2.019 MB / 0.5043 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5503, allocations: 0 / 0.5043 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.5537, allocations: 1.016 MB / 0.5053 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/0.5544, allocations: 138.4 kB / 0.5054 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05311/0.6075, allocations: 16.15 MB / 0.5212 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.6079, allocations: 357.8 kB / 0.5215 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.6083, allocations: 58.27 kB / 0.5216 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/0.6086, allocations: 283.3 kB / 0.5218 GB, free: 13.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/0.6086, allocations: 0 / 0.5218 GB, free: 13.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2781/0.8867, allocations: 27.36 MB / 0.5486 GB, free: 105.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.2, allocations: 11.19 kB / 0.5486 GB, free: 105.5 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.679235774994595] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.34513919998426 14.3560682 14.075137147 Calling exit ...