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.001875/0.001875, 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.002274/0.002274, allocations: 208.4 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.439/1.439, 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.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.001525/0.001525, allocations: 47.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2603, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006131/0.2664, allocations: 4.425 MB / 435.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.2692, allocations: 1.249 MB / 436.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.2696, allocations: 11.94 kB / 436.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.2699, allocations: 126.7 kB / 436.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.2705, allocations: 257.7 kB / 437.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008341/0.2713, allocations: 315.5 kB / 437.5 MB, free: 236 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.2724, allocations: 1.099 MB / 438.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.2728, allocations: 172.7 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.2733, allocations: 434.5 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.2738, allocations: 426 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.274, allocations: 92 kB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.2742, allocations: 112 kB / 439.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2744, allocations: 195.3 kB / 440 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004047/0.2748, allocations: 382.3 kB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.276, allocations: 1.047 MB / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.276, allocations: 4 kB / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.276, allocations: 0 / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.276, allocations: 0 / 441.4 MB, free: 12.29 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.002545/0.2785, allocations: 1.209 MB / 442.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.2786, allocations: 12.03 kB / 442.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.2787, allocations: 106.6 kB / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.2789, allocations: 100.3 kB / 442.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.2796, allocations: 430.1 kB / 443.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.2796, allocations: 45.69 kB / 443.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.2797, allocations: 68.33 kB / 443.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2812, allocations: 0.784 MB / 444.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.2812, allocations: 0 / 444.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.2813, allocations: 28 kB / 444.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.2813, allocations: 20 kB / 444.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.283, allocations: 0.696 MB / 444.9 MB, free: 8.684 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.003727/0.2867, allocations: 1.881 MB / 446.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.2881, allocations: 0.5521 MB / 447.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007199/0.2889, allocations: 310 kB / 447.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.2889, allocations: 8.438 kB / 447.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000992/0.2899, allocations: 0.5448 MB / 448.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.054e-06/0.2899, allocations: 0 / 448.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06681/0.3567, allocations: 15.24 MB / 463.4 MB, free: 5.938 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3568, allocations: 145.5 kB / 463.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/0.3575, allocations: 0.5302 MB / 464.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.3577, allocations: 41.7 kB / 464.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.358, allocations: 400.6 kB / 464.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.3583, allocations: 329.2 kB / 464.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.3587, allocations: 186.5 kB / 465 MB, free: 4.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3589, allocations: 394.7 kB / 465.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/0.3609, allocations: 0.7785 MB / 466.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.3632, allocations: 1.084 MB / 467.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/0.3673, allocations: 1.701 MB / 469 MB, free: 80 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3673, allocations: 0 / 469 MB, free: 80 kB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0225/0.3898, allocations: 5.393 MB / 474.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.744e-05/0.3899, allocations: 67.39 kB / 474.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.3899, allocations: 7.938 kB / 474.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03315/0.4231, allocations: 6.829 MB / 481.3 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.4238, allocations: 159.7 kB / 481.4 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006033/0.4298, allocations: 3.009 MB / 484.4 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.4314, allocations: 183.8 kB / 484.6 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.4315, allocations: 47.92 kB / 484.6 MB, free: 272 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.0004317/0.432, allocations: 237.7 kB / 484.9 MB, free: 24 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.4322, allocations: 83.53 kB / 485 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02159/0.4538, allocations: 5.068 MB / 490 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.4538, allocations: 8 kB / 490 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4538, allocations: 0 / 490 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.4538, allocations: 3.984 kB / 490 MB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.4554, allocations: 0.8577 MB / 490.9 MB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.4554, allocations: 4 kB / 490.9 MB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.4559, allocations: 91.83 kB / 491 MB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03288/0.4888, allocations: 6.773 MB / 497.8 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/0.489, allocations: 27.98 kB / 497.8 MB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006059/0.4951, allocations: 3.033 MB / 0.4891 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4951, allocations: 256 / 0.4891 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02447/0.5196, allocations: 5.948 MB / 0.4949 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.5198, allocations: 75.44 kB / 0.495 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.52, allocations: 23.94 kB / 0.495 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.5214, allocations: 171.8 kB / 0.4952 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.5217, allocations: 104.8 kB / 0.4953 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.601e-05/0.5217, allocations: 31.98 kB / 0.4953 GB, free: 9.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004542/0.5222, allocations: 354.8 kB / 0.4956 GB, free: 9.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5222, allocations: 0 / 0.4956 GB, free: 9.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008096/0.523, allocations: 263.9 kB / 0.4959 GB, free: 8.961 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.02468/0.5477, allocations: 6.538 MB / 0.5023 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006338/0.554, allocations: 2.02 MB / 0.5042 GB, free: 336 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.554, allocations: 4 kB / 0.5042 GB, free: 332 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003622/0.5577, allocations: 1.008 MB / 0.5052 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.5585, allocations: 130.2 kB / 0.5053 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0551/0.6136, allocations: 16.16 MB / 0.5211 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.614, allocations: 353.8 kB / 0.5215 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00034/0.6143, allocations: 58.27 kB / 0.5215 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.6147, allocations: 271.3 kB / 0.5218 GB, free: 13.96 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6147, allocations: 4 kB / 0.5218 GB, free: 13.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2536/0.8683, allocations: 27.09 MB / 0.5482 GB, free: 106.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.35, allocations: 10.97 kB / 0.5482 GB, free: 106.1 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.860885231290013] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 14.48074445175007 14.501620386 14.22203708 Calling exit ...