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.000875/0.000875, 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.0008869/0.0008869, allocations: 174 kB / 23.94 MB, free: 0.6172 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.9037/0.9037, allocations: 177.1 MB / 204.3 MB, free: 5.699 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.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 1.513e-06/1.513e-06, allocations: 0 / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.106e-05, allocations: 6.281 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003966/0.003988, allocations: 4.421 MB / 329 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.006154, allocations: 1.252 MB / 330.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.006446, allocations: 15.94 kB / 330.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.006667, allocations: 126.7 kB / 330.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.00701, allocations: 273.4 kB / 330.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.007627, allocations: 319.3 kB / 331 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000812/0.008439, allocations: 1.137 MB / 332.1 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.008675, allocations: 175 kB / 332.3 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.009114, allocations: 0.6003 MB / 332.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.009434, allocations: 366.9 kB / 333.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.652e-05/0.00952, allocations: 92 kB / 333.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.009671, allocations: 119.9 kB / 333.5 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.00978, allocations: 203.2 kB / 333.7 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.009985, allocations: 319.2 kB / 334 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006891/0.01067, allocations: 1.083 MB / 335.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01068, allocations: 4 kB / 335.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01068, allocations: 0 / 335.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.01069, allocations: 0 / 335.1 MB, free: 5.375 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.001756/0.01244, allocations: 1.209 MB / 336.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.01248, allocations: 8.031 kB / 336.3 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.751e-05/0.01256, allocations: 110.7 kB / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.01266, allocations: 100.3 kB / 336.5 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.01311, allocations: 417.4 kB / 336.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.01314, allocations: 57.61 kB / 336.9 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.01321, allocations: 68.33 kB / 337 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008693/0.01408, allocations: 0.7728 MB / 337.8 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.0141, allocations: 192 / 337.8 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.01414, allocations: 40.11 kB / 337.8 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01415, allocations: 12 kB / 337.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.01532, allocations: 0.6922 MB / 338.5 MB, free: 1.777 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.002222/0.01754, allocations: 1.883 MB / 340.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.01838, allocations: 0.5515 MB / 341 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.0188, allocations: 318.1 kB / 341.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.01883, allocations: 4.5 kB / 341.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005827/0.01941, allocations: 0.5458 MB / 341.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 1.703e-06/0.01941, allocations: 0 / 341.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.03399/0.05341, allocations: 15.24 MB / 357.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.05348, allocations: 145.5 kB / 357.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.0539, allocations: 0.534 MB / 357.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.525e-05/0.05397, allocations: 41.7 kB / 357.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.05417, allocations: 392.7 kB / 358.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.05437, allocations: 321.2 kB / 358.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.0546, allocations: 194.5 kB / 358.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.05472, allocations: 382.8 kB / 359 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.05587, allocations: 0.7746 MB / 359.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.05715, allocations: 1.088 MB / 360.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.05948, allocations: 1.701 MB / 362.6 MB, free: 9.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.05948, allocations: 4 kB / 362.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01148/0.07096, allocations: 5.397 MB / 368 MB, free: 3.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.07101, allocations: 67.39 kB / 368.1 MB, free: 3.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.07103, allocations: 8 kB / 368.1 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/0.08707, allocations: 6.825 MB / 374.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.08746, allocations: 147.8 kB / 375.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.09133, allocations: 3.028 MB / 378.1 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.09212, allocations: 179.8 kB / 378.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.09219, allocations: 51.95 kB / 378.3 MB, free: 9.359 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.0003021/0.09249, allocations: 229.6 kB / 378.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.09258, allocations: 79.48 kB / 378.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.1032, allocations: 5.064 MB / 383.7 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.1032, allocations: 12 kB / 383.7 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1032, allocations: 3.984 kB / 383.7 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1032, allocations: 3.984 kB / 383.7 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008294/0.1041, allocations: 0.8589 MB / 384.6 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1041, allocations: 0 / 384.6 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.1043, allocations: 95.81 kB / 384.6 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01611/0.1204, allocations: 6.773 MB / 391.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.1206, allocations: 23.97 kB / 391.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/0.1242, allocations: 3.025 MB / 394.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1242, allocations: 0 / 394.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/0.1364, allocations: 5.96 MB / 400.4 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.1366, allocations: 67.48 kB / 400.5 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.1367, allocations: 19.94 kB / 400.5 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/0.1373, allocations: 167.8 kB / 400.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.1375, allocations: 104.8 kB / 400.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.1376, allocations: 39.91 kB / 400.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002913/0.1378, allocations: 354.8 kB / 401.2 MB, free: 2.324 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1378, allocations: 0 / 401.2 MB, free: 2.324 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005487/0.1384, allocations: 256 kB / 401.4 MB, free: 2.074 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.01277/0.1512, allocations: 6.532 MB / 407.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003529/0.1547, allocations: 2.035 MB / 410 MB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1547, allocations: 3.938 kB / 410 MB, free: 9.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.1566, allocations: 1.009 MB / 411 MB, free: 8.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.1572, allocations: 138 kB / 411.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03062/0.1878, allocations: 16.13 MB / 427.3 MB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.188, allocations: 357.8 kB / 427.6 MB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.1883, allocations: 58.27 kB / 427.7 MB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.1886, allocations: 276.4 kB / 427.9 MB, free: 7.07 MB / 394.7 MB Notification: Performance of SimCode: time 2.304e-06/0.1886, allocations: 0 / 427.9 MB, free: 7.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1791/0.3677, allocations: 27.13 MB / 455.1 MB, free: 124 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/8.888, allocations: 2.781 kB / 455.1 MB, free: 124 MB / 410.7 MB " [Timeout remaining time 651] (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: 10.692313344217837] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 8.994497046805918 9.000467315 8.988478916 Calling exit ...