Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.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.001931/0.001931, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 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.00245/0.00245, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 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 1.439/1.439, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.6397/0.6397, allocations: 94.61 MB / 399.1 MB, free: 15.76 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo) 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(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.ConductionElement,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_ConductionElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002495/0.002495, allocations: 75.88 kB / 0.5444 GB, free: 12.54 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4218, allocations: 71.84 MB / 0.6145 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.ConductionElement): time 0.1019/0.5237, allocations: 83.6 MB / 0.6962 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.5344, allocations: 4.513 MB / 0.7006 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/0.5372, allocations: 111.3 kB / 0.7007 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.5405, allocations: 0.8535 MB / 0.7015 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/0.553, allocations: 3.469 MB / 0.7049 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.564, allocations: 3.599 MB / 0.7084 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006024/0.57, allocations: 3.35 MB / 0.7117 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.5711, allocations: 357.1 kB / 0.712 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01546/0.5866, allocations: 8.236 MB / 0.7201 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.5886, allocations: 1.193 MB / 0.7212 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004864/0.5891, allocations: 140 kB / 0.7214 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007712/0.5968, allocations: 3.553 MB / 0.7248 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.5974, allocations: 398 kB / 0.7252 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.5988, allocations: 1.037 MB / 0.7262 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009047/0.6078, allocations: 3.498 MB / 0.7297 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.6078, allocations: 0 / 0.7297 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6078, allocations: 7.938 kB / 0.7297 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.536e-05/0.6079, allocations: 0 / 0.7297 GB, free: 14.78 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005463/0.6133, allocations: 2.832 MB / 0.7324 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6134, allocations: 12.03 kB / 0.7324 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002473/0.6136, allocations: 220.1 kB / 0.7327 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.6162, allocations: 447 kB / 0.7331 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.6189, allocations: 1.484 MB / 0.7345 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.619, allocations: 127.2 kB / 0.7346 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.6192, allocations: 163.9 kB / 0.7348 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003398/0.6226, allocations: 1.603 MB / 0.7364 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.6226, allocations: 7.875 kB / 0.7364 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6227, allocations: 64 kB / 0.7364 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/0.6228, allocations: 40 kB / 0.7365 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.6256, allocations: 1.088 MB / 0.7375 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01152/0.6371, allocations: 10.55 MB / 0.7478 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.6396, allocations: 0.9645 MB / 0.7488 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007652/0.6404, allocations: 374.5 kB / 0.7491 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002513/0.6429, allocations: 2.641 MB / 0.7517 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.6429, allocations: 47.56 kB / 0.7518 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=105): time 3.216e-06/0.6429, allocations: 0 / 0.7518 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108): time 0.0114/0.6543, allocations: 3.99 MB / 0.7557 GB, free: 2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.6544, allocations: 64.41 kB / 0.7557 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/0.6569, allocations: 1.649 MB / 0.7573 GB, free: 252 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/0.6571, allocations: 49.64 kB / 0.7574 GB, free: 196 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009109/0.658, allocations: 0.9627 MB / 0.7583 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.6584, allocations: 408.5 kB / 0.7587 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003686/0.6587, allocations: 247.5 kB / 0.7589 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.6589, allocations: 363.9 kB / 0.7593 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009859/0.6599, allocations: 407.8 kB / 0.7597 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.6612, allocations: 0.6942 MB / 0.7604 GB, free: 13.01 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system (0.0 = $START.conductionElement5.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system (0.0 = $START.conductionElement3.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system (0.0 = $START.conductionElement1.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/0.6639, allocations: 1.483 MB / 0.7618 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6639, allocations: 0 / 0.7618 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003546/0.6674, allocations: 1.594 MB / 0.7634 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6675, allocations: 8.5 kB / 0.7634 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.6675, allocations: 12 kB / 0.7634 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/0.6681, allocations: 185 kB / 0.7636 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.6693, allocations: 319.5 kB / 0.7639 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007454/0.6768, allocations: 8.737 MB / 0.7724 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.678, allocations: 64.02 kB / 0.7725 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.6782, allocations: 67.97 kB / 0.7725 GB, free: 15.49 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: conductionElement5.deltaE_system = $START.conductionElement5.deltaE_system conductionElement3.deltaE_system = $START.conductionElement3.deltaE_system conductionElement1.deltaE_system = $START.conductionElement1.deltaE_system conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007087/0.6789, allocations: 337.8 kB / 0.7728 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.6792, allocations: 222.5 kB / 0.7731 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.683, allocations: 1.687 MB / 0.7747 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.683, allocations: 12 kB / 0.7747 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.683, allocations: 0 / 0.7747 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.683, allocations: 11.92 kB / 0.7747 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.6883, allocations: 2.827 MB / 0.7775 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6883, allocations: 4.188 kB / 0.7775 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.6893, allocations: 227.7 kB / 0.7777 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/0.6899, allocations: 196.9 kB / 0.7779 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-05/0.69, allocations: 43.97 kB / 0.7779 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006953/0.6969, allocations: 8.733 MB / 0.7865 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.697, allocations: 3.984 kB / 0.7865 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.701, allocations: 1.968 MB / 0.7884 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.7015, allocations: 263.6 kB / 0.7886 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.7017, allocations: 32 kB / 0.7887 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007036/0.7024, allocations: 47.89 kB / 0.7887 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.7027, allocations: 112.7 kB / 0.7888 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.87e-05/0.7028, allocations: 47.97 kB / 0.7889 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001534/0.7043, allocations: 1.089 MB / 0.7899 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.7043, allocations: 0 / 0.7899 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001657/0.706, allocations: 0.5502 MB / 0.7905 GB, free: 12.02 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (conductionElement.rear.m_flow,conductionElement.h,conductionElement1.m_flow,conductionElement1.h,conductionElement2.rear.m_flow,conductionElement2.h,conductionElement2.deltaE_system,conductionElement3.rear.m_flow,conductionElement3.h,conductionElement4.rear.m_flow,conductionElement4.h,conductionElement4.deltaE_system,conductionElement5.rear.m_flow,conductionElement5.h) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005214/0.7112, allocations: 2.972 MB / 0.7934 GB, free: 9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00332/0.7145, allocations: 1.741 MB / 0.7951 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7145, allocations: 0 / 0.7951 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.7166, allocations: 1.257 MB / 0.7963 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.7184, allocations: 430.9 kB / 0.7967 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02278/0.7412, allocations: 14.01 MB / 0.8104 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.7423, allocations: 1.377 MB / 0.8117 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001524/0.7438, allocations: 0.5772 MB / 0.8123 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.745, allocations: 0.8624 MB / 0.8131 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/0.745, allocations: 0 / 0.8131 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/0.8555, allocations: 47.46 MB / 0.8595 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/16.11, allocations: 11.98 kB / 0.8595 GB, free: 5.039 MB / 0.6856 GB " [Timeout remaining time 644] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Undirected_Processes_Tests_ConductionElement.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 19.81321827499778] Failed to read output from testmodel.py, exit status != 0: 16.24681496201083 16.525690765 15.915124531 Calling exit ...