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.0008436/0.0008436, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008785/0.0008785, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8602/0.8602, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.152e-06/1.152e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04e-05/1.155e-05, allocations: 2.281 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.003611/0.003623, allocations: 4.436 MB / 329 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.005255, allocations: 1.252 MB / 330.3 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.005488, allocations: 11.94 kB / 330.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.005692, allocations: 126.7 kB / 330.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.005997, allocations: 273.4 kB / 330.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.006493, allocations: 311.4 kB / 331 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006813/0.007174, allocations: 1.145 MB / 332.1 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.007395, allocations: 167 kB / 332.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000493/0.007888, allocations: 0.612 MB / 332.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.008181, allocations: 359 kB / 333.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.008257, allocations: 92 kB / 333.3 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.008386, allocations: 123.9 kB / 333.5 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.754e-05/0.008484, allocations: 199.2 kB / 333.7 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.008678, allocations: 319.2 kB / 334 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.009329, allocations: 1.083 MB / 335.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.009331, allocations: 0 / 335.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.009331, allocations: 0 / 335.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.009338, allocations: 0 / 335.1 MB, free: 5.387 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.001618/0.01096, allocations: 1.213 MB / 336.3 MB, free: 4.125 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.01099, allocations: 15.97 kB / 336.3 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.351e-05/0.01107, allocations: 110.7 kB / 336.4 MB, free: 3.992 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/0.01117, allocations: 100.3 kB / 336.5 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.01158, allocations: 417.4 kB / 336.9 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.01161, allocations: 45.69 kB / 336.9 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.01168, allocations: 72.27 kB / 337 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008274/0.01251, allocations: 0.7806 MB / 337.8 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.01252, allocations: 192 / 337.8 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.01257, allocations: 32.12 kB / 337.8 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.01258, allocations: 19.98 kB / 337.8 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009411/0.01352, allocations: 0.6961 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.002118/0.01564, allocations: 1.879 MB / 340.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/0.01648, allocations: 0.5515 MB / 341 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.0169, allocations: 310.1 kB / 341.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.01694, allocations: 12.48 kB / 341.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/0.01751, allocations: 0.5458 MB / 341.8 MB, free: 14.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 1.483e-06/0.01751, allocations: 0 / 341.8 MB, free: 14.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.03284/0.05034, allocations: 15.24 MB / 357.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.05047, allocations: 149.5 kB / 357.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.05087, allocations: 0.5263 MB / 357.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.05093, allocations: 45.7 kB / 357.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.05112, allocations: 392.7 kB / 358.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.0513, allocations: 325.2 kB / 358.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.05153, allocations: 182.5 kB / 358.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.05177, allocations: 386.7 kB / 359.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.05291, allocations: 0.7785 MB / 359.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.05416, allocations: 1.084 MB / 360.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.05668, allocations: 1.701 MB / 362.6 MB, free: 9.199 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.05668, allocations: 4 kB / 362.6 MB, free: 9.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01133/0.06801, allocations: 5.401 MB / 368 MB, free: 3.746 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.748e-05/0.06808, allocations: 63.41 kB / 368.1 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.0681, allocations: 8 kB / 368.1 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01583/0.08393, allocations: 6.825 MB / 374.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.08431, allocations: 147.7 kB / 375.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003537/0.08784, allocations: 3.024 MB / 378.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008242/0.08867, allocations: 183.8 kB / 378.3 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.94e-05/0.08874, allocations: 55.95 kB / 378.3 MB, free: 9.367 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.000312/0.08905, allocations: 233.6 kB / 378.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.08915, allocations: 83.48 kB / 378.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/0.09968, allocations: 5.064 MB / 383.7 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.09969, allocations: 8 kB / 383.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.09969, allocations: 0 / 383.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.09971, allocations: 3.984 kB / 383.7 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1007, allocations: 0.8628 MB / 384.6 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.1007, allocations: 0 / 384.6 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.101, allocations: 95.81 kB / 384.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01617/0.1172, allocations: 6.773 MB / 391.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/0.1173, allocations: 27.97 kB / 391.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/0.1208, allocations: 3.018 MB / 394.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1208, allocations: 0 / 394.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/0.133, allocations: 5.96 MB / 400.4 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.1333, allocations: 71.5 kB / 400.5 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.1334, allocations: 23.88 kB / 400.5 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.134, allocations: 167.8 kB / 400.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.1342, allocations: 96.83 kB / 400.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.1342, allocations: 35.97 kB / 400.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003051/0.1345, allocations: 358.8 kB / 401.2 MB, free: 2.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1345, allocations: 0 / 401.2 MB, free: 2.332 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005488/0.1351, allocations: 256 kB / 401.4 MB, free: 2.082 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.01273/0.1478, allocations: 6.536 MB / 408 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003319/0.1511, allocations: 2.028 MB / 410 MB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1511, allocations: 448 / 410 MB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.1529, allocations: 1.023 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.000562/0.1534, allocations: 130.2 kB / 411.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02816/0.1816, allocations: 16.13 MB / 427.3 MB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.1821, allocations: 357.8 kB / 427.6 MB, free: 7.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002734/0.1824, allocations: 58.27 kB / 427.7 MB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.1826, allocations: 272.4 kB / 427.9 MB, free: 7.082 MB / 394.7 MB Notification: Performance of SimCode: time 1.803e-06/0.1826, allocations: 0 / 427.9 MB, free: 7.082 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.159/0.3416, allocations: 27.13 MB / 455.1 MB, free: 124 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.642, allocations: 5.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 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.219918134622276] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 8.745977517217398 8.752981849 8.742207023 Calling exit ...