Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000783/0.000783, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9103/0.9103, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 318.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.529e-05, allocations: 2.281 kB / 318.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004157/0.004182, allocations: 4.377 MB / 322.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.006342, allocations: 1.244 MB / 324.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.006695, allocations: 15.94 kB / 324.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.006947, allocations: 130.6 kB / 324.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.007338, allocations: 273.5 kB / 324.5 MB, free: 272 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.008053, allocations: 315.3 kB / 324.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009296/0.008982, allocations: 1.138 MB / 325.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.00928, allocations: 175 kB / 326.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007126/0.009992, allocations: 0.6042 MB / 326.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.01035, allocations: 363 kB / 327.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.01045, allocations: 88 kB / 327.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.01061, allocations: 120 kB / 327.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.01072, allocations: 203.2 kB / 327.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.01095, allocations: 319.2 kB / 327.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008546/0.0118, allocations: 1.086 MB / 328.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.01181, allocations: 0 / 328.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.977e-06/0.01181, allocations: 8 kB / 328.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.01183, allocations: 0 / 328.9 MB, free: 11.86 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.001802/0.01363, allocations: 1.198 MB / 330.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.01368, allocations: 12.92 kB / 330.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.913e-05/0.01377, allocations: 106.7 kB / 330.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.01389, allocations: 104.3 kB / 330.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.01441, allocations: 421.3 kB / 330.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.01444, allocations: 45.69 kB / 330.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-05/0.01452, allocations: 68.38 kB / 330.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009156/0.01544, allocations: 0.7728 MB / 331.6 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.01545, allocations: 4.188 kB / 331.6 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.0155, allocations: 28.12 kB / 331.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.01551, allocations: 16 kB / 331.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.01651, allocations: 0.6999 MB / 332.3 MB, free: 8.277 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.002669/0.01918, allocations: 1.886 MB / 334.2 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.02009, allocations: 0.5595 MB / 334.8 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004136/0.02051, allocations: 310.8 kB / 335.1 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.02055, allocations: 12.44 kB / 335.1 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006057/0.02116, allocations: 0.542 MB / 335.6 MB, free: 4.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.344e-06/0.02116, allocations: 0 / 335.6 MB, free: 4.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.03309/0.05425, allocations: 15.24 MB / 350.9 MB, free: 5.512 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.05433, allocations: 145.5 kB / 351 MB, free: 5.336 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.05483, allocations: 0.5302 MB / 351.5 MB, free: 4.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.05496, allocations: 41.7 kB / 351.6 MB, free: 4.754 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.05517, allocations: 388.8 kB / 352 MB, free: 4.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.05537, allocations: 325.2 kB / 352.3 MB, free: 4.047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.05562, allocations: 186.6 kB / 352.5 MB, free: 3.859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.05574, allocations: 382.8 kB / 352.8 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.05694, allocations: 0.7784 MB / 353.6 MB, free: 2.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.05823, allocations: 1.088 MB / 354.7 MB, free: 1.477 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/0.06064, allocations: 1.704 MB / 356.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.06065, allocations: 0 / 356.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01185/0.0725, allocations: 5.409 MB / 361.8 MB, free: 10.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/0.07257, allocations: 63.41 kB / 361.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.07258, allocations: 8 kB / 361.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01626/0.08884, allocations: 6.821 MB / 368.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.08927, allocations: 151.7 kB / 368.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.09302, allocations: 3.013 MB / 371.9 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009665/0.09399, allocations: 179.8 kB / 372.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.567e-05/0.09406, allocations: 47.97 kB / 372.1 MB, free: 15.87 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.0003591/0.09442, allocations: 225.6 kB / 372.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.09453, allocations: 83.48 kB / 372.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.1056, allocations: 5.072 MB / 377.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.1056, allocations: 8 kB / 377.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1056, allocations: 4 kB / 377.5 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.1057, allocations: 7.922 kB / 377.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.1067, allocations: 0.8588 MB / 378.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.1067, allocations: 0 / 378.4 MB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.107, allocations: 91.89 kB / 378.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01601/0.123, allocations: 6.778 MB / 385.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.1232, allocations: 27.91 kB / 385.2 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/0.1268, allocations: 3.033 MB / 388.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1268, allocations: 0 / 388.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.1393, allocations: 5.949 MB / 394.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.1395, allocations: 79.48 kB / 394.3 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.1396, allocations: 23.94 kB / 394.3 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006628/0.1403, allocations: 167.8 kB / 394.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.1405, allocations: 100.8 kB / 394.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.1406, allocations: 31.97 kB / 394.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003203/0.1409, allocations: 354.8 kB / 395 MB, free: 8.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1409, allocations: 0 / 395 MB, free: 8.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000613/0.1415, allocations: 264 kB / 395.2 MB, free: 8.562 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.01333/0.1548, allocations: 6.521 MB / 401.7 MB, free: 1.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004456/0.1593, allocations: 2.024 MB / 403.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.1593, allocations: 4.188 kB / 403.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.1612, allocations: 1.015 MB / 404.8 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/0.162, allocations: 141.7 kB / 404.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/0.1914, allocations: 16.13 MB / 421.1 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1917, allocations: 357.8 kB / 421.4 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002546/0.1919, allocations: 58.28 kB / 421.5 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.1922, allocations: 272.4 kB / 421.7 MB, free: 13.58 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1922, allocations: 0 / 421.7 MB, free: 13.58 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05044/0.2426, allocations: 27.08 MB / 448.8 MB, free: 2.742 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/8.777, allocations: 3.859 kB / 448.8 MB, free: 2.738 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.711023597978055] Failed to read output from testmodel.py, exit status != 0: ['time', 'HeatCapacitor1.T'] 8.882752668112516 9.063201083 9.0499073 Calling exit ...