Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.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.0009427/0.0009427, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001542/0.001542, allocations: 214.5 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9796/0.9796, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7287/0.7287, allocations: 150.8 MB / 463.2 MB, free: 6.508 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) 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(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 89.41 kB / 0.6392 GB, free: 32.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1493, allocations: 88.07 MB / 0.7252 GB, free: 8.391 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3): time 0.4722/0.6215, allocations: 132.2 MB / 0.8543 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004915/0.6265, allocations: 4.412 MB / 0.8586 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008253/0.6273, allocations: 47.81 kB / 0.8587 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000862/0.6281, allocations: 299.7 kB / 0.859 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.6305, allocations: 0.8223 MB / 0.8598 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.6316, allocations: 478.3 kB / 0.8602 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.633, allocations: 1.121 MB / 0.8613 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.6333, allocations: 105.5 kB / 0.8614 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.6343, allocations: 0.5065 MB / 0.8619 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.6349, allocations: 434.8 kB / 0.8623 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-05/0.635, allocations: 47.62 kB / 0.8624 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.6366, allocations: 0.7035 MB / 0.863 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.6367, allocations: 134.5 kB / 0.8632 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.6371, allocations: 295.5 kB / 0.8635 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.639, allocations: 1.176 MB / 0.8646 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.639, allocations: 0 / 0.8646 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.527e-06/0.639, allocations: 0 / 0.8646 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.639, allocations: 0 / 0.8646 GB, free: 1.48 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001771/0.6407, allocations: 1.155 MB / 0.8657 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.6408, allocations: 15.61 kB / 0.8657 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.6409, allocations: 83.2 kB / 0.8658 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.641, allocations: 90.78 kB / 0.8659 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007769/0.6418, allocations: 0.5357 MB / 0.8664 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.6419, allocations: 156.6 kB / 0.8666 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.642, allocations: 43.53 kB / 0.8666 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008059/0.6428, allocations: 0.5708 MB / 0.8672 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.6428, allocations: 2.344 kB / 0.8672 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.6428, allocations: 20.33 kB / 0.8672 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.6428, allocations: 10.41 kB / 0.8672 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008619/0.6437, allocations: 0.5191 MB / 0.8677 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.6455, allocations: 1.348 MB / 0.869 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009419/0.6464, allocations: 480.4 kB / 0.8695 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.6468, allocations: 228.2 kB / 0.8697 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003822/0.6472, allocations: 136.1 kB / 0.8698 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005666/0.6478, allocations: 349.3 kB / 0.8702 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.6478, allocations: 0 / 0.8702 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.00416/0.6519, allocations: 1.806 MB / 0.8719 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.652, allocations: 58.92 kB / 0.872 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.6526, allocations: 0.5723 MB / 0.8726 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.6526, allocations: 38.27 kB / 0.8726 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.6528, allocations: 305.8 kB / 0.8729 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.6529, allocations: 164.7 kB / 0.873 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.653, allocations: 96.06 kB / 0.8731 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.6531, allocations: 320.4 kB / 0.8734 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/0.6536, allocations: 285.3 kB / 0.8737 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/0.6541, allocations: 332.7 kB / 0.874 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009396/0.6551, allocations: 0.5274 MB / 0.8745 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6551, allocations: 3.938 kB / 0.8745 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001244/0.6563, allocations: 0.7825 MB / 0.8753 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.6564, allocations: 64.16 kB / 0.8754 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6564, allocations: 4.062 kB / 0.8754 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004017/0.6568, allocations: 77.03 kB / 0.8755 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.6571, allocations: 124.9 kB / 0.8756 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003653/0.6574, allocations: 0.5668 MB / 0.8761 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.6578, allocations: 62.86 kB / 0.8762 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.6579, allocations: 22.53 kB / 0.8762 GB, free: 13.39 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.T_start,power.count,$PRE.power.count,power.T_start,$PRE.power.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002662/0.6582, allocations: 179.6 kB / 0.8764 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.6582, allocations: 84.94 kB / 0.8765 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.6595, allocations: 0.8519 MB / 0.8773 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.6595, allocations: 3.969 kB / 0.8773 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6595, allocations: 0 / 0.8773 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6595, allocations: 5.812 kB / 0.8773 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.66, allocations: 436.1 kB / 0.8777 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.66, allocations: 0 / 0.8777 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.6603, allocations: 103 kB / 0.8778 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003294/0.6606, allocations: 79.48 kB / 0.8779 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.6607, allocations: 15.94 kB / 0.8779 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002905/0.661, allocations: 0.5587 MB / 0.8785 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.661, allocations: 5.688 kB / 0.8785 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.6624, allocations: 0.8746 MB / 0.8793 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.6626, allocations: 101.3 kB / 0.8794 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.6627, allocations: 9 kB / 0.8794 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.6629, allocations: 66 kB / 0.8795 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.663, allocations: 51.52 kB / 0.8795 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.6631, allocations: 10.59 kB / 0.8795 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003797/0.6634, allocations: 439.7 kB / 0.88 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.6634, allocations: 1.094 kB / 0.88 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005156/0.664, allocations: 202.3 kB / 0.8802 GB, free: 11.41 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (adiabaticFilter.dp) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,power.T_start,power.count,massFlowRate.T_start,massFlowRate.count) * Number of discrete states: 2 (power.count,massFlowRate.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002096/0.6661, allocations: 1.635 MB / 0.8817 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.6672, allocations: 0.6771 MB / 0.8824 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6672, allocations: 0 / 0.8824 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004957/0.6677, allocations: 262 kB / 0.8827 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.6688, allocations: 333.5 kB / 0.883 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/0.6757, allocations: 5.664 MB / 0.8885 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.6759, allocations: 291.5 kB / 0.8888 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004657/0.6763, allocations: 110.2 kB / 0.8889 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.6766, allocations: 250.6 kB / 0.8891 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of SimCode: time 1.693e-06/0.6766, allocations: 0 / 0.8891 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03625/0.7128, allocations: 22.64 MB / 0.9112 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.392/9.104, allocations: 6.031 kB / 0.9112 GB, free: 11.32 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 11.968412388116121] Failed to read output from testmodel.py, exit status != 0: 9.199851968325675 9.210715736 8.569671251 Calling exit ...