Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Icons.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.0008491/0.0008491, 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.0009738/0.0009738, allocations: 212.1 kB / 22.25 MB, free: 3.586 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.928/0.928, allocations: 230.6 MB / 256 MB, free: 9.59 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.6768/0.6768, allocations: 154 MB / 466.4 MB, free: 3.48 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.Icons,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Icons",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Icons,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Icons",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 91.86 kB / 0.6436 GB, free: 28.46 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1295, allocations: 88.78 MB / 0.7303 GB, free: 3.496 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Utilities/DropOfCommonsPlus.mo:4:3-4:36:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Utilities/DropOfCommonsPlus.mo:4:3-4:36:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use ThermofluidStream.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Icons): time 0.598/0.7275, allocations: 384.9 MB / 1.106 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02523/0.7527, allocations: 19.77 MB / 1.125 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005884/0.7586, allocations: 281.2 kB / 1.126 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.005908/0.7645, allocations: 1.892 MB / 1.128 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01755/0.7821, allocations: 6.688 MB / 1.134 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01274/0.7948, allocations: 5.224 MB / 1.139 GB, free: 13 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.009982/0.8048, allocations: 8.332 MB / 1.147 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.8062, allocations: 0.6358 MB / 1.148 GB, free: 3.957 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008646/0.8149, allocations: 4.779 MB / 1.153 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004582/0.8195, allocations: 2.732 MB / 1.155 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.8209, allocations: 316 kB / 1.156 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01061/0.8315, allocations: 4.848 MB / 1.16 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.8328, allocations: 0.8743 MB / 1.161 GB, free: 6.375 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.003497/0.8363, allocations: 2.009 MB / 1.163 GB, free: 4.355 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.4677/1.304, allocations: 9.34 MB / 1.172 GB, free: 44.05 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/1.304, allocations: 2.781 kB / 1.172 GB, free: 44.05 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.385e-06/1.304, allocations: 0 / 1.172 GB, free: 44.05 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000299/1.304, allocations: 3.594 kB / 1.172 GB, free: 44.05 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01664/1.321, allocations: 6.327 MB / 1.178 GB, free: 41.37 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/1.321, allocations: 11.23 kB / 1.178 GB, free: 41.37 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006584/1.322, allocations: 474.2 kB / 1.179 GB, free: 41.31 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006566/1.328, allocations: 1.353 MB / 1.18 GB, free: 40.98 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00726/1.336, allocations: 2.98 MB / 1.183 GB, free: 40.11 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004955/1.336, allocations: 0.7844 MB / 1.184 GB, free: 39.48 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/1.337, allocations: 356.7 kB / 1.184 GB, free: 39.47 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006828/1.344, allocations: 3.895 MB / 1.188 GB, free: 38.95 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.568e-05/1.344, allocations: 7.562 kB / 1.188 GB, free: 38.95 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/1.344, allocations: 144.7 kB / 1.188 GB, free: 38.95 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-05/1.345, allocations: 87.78 kB / 1.188 GB, free: 38.95 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005395/1.35, allocations: 3.184 MB / 1.191 GB, free: 38.93 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/1.368, allocations: 11.56 MB / 1.203 GB, free: 34.35 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004697/1.373, allocations: 3.529 MB / 1.206 GB, free: 34.14 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/1.375, allocations: 1.495 MB / 1.208 GB, free: 34.05 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/1.376, allocations: 217.4 kB / 1.208 GB, free: 34.04 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/1.376, allocations: 83.73 kB / 1.208 GB, free: 34 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=396): time 6.722e-06/1.376, allocations: 0 / 1.208 GB, free: 34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=396): time 0.007187/1.383, allocations: 4.909 MB / 1.213 GB, free: 33.53 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/1.383, allocations: 283 kB / 1.213 GB, free: 33.24 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/1.387, allocations: 3.343 MB / 1.216 GB, free: 32.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003092/1.387, allocations: 86.89 kB / 1.216 GB, free: 32.87 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008552/1.388, allocations: 1.913 MB / 1.218 GB, free: 32.39 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000842/1.389, allocations: 1.401 MB / 1.22 GB, free: 31.45 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007914/1.389, allocations: 0.7507 MB / 1.22 GB, free: 31.41 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 3.37e-05/1.39, allocations: 301.1 kB / 1.221 GB, free: 31.12 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/1.391, allocations: 1.06 MB / 1.222 GB, free: 31.11 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/1.392, allocations: 1.677 MB / 1.223 GB, free: 30.52 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02134/1.414, allocations: 7.565 MB / 1.231 GB, free: 29.86 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.3e-05/1.414, allocations: 7.234 kB / 1.231 GB, free: 29.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.006352/1.42, allocations: 4.089 MB / 1.235 GB, free: 29.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.42, allocations: 16.41 kB / 1.235 GB, free: 29.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/1.42, allocations: 14.69 kB / 1.235 GB, free: 29.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000699/1.421, allocations: 348.7 kB / 1.235 GB, free: 29.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/1.425, allocations: 1.288 MB / 1.236 GB, free: 29.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005118/1.43, allocations: 10.42 MB / 1.246 GB, free: 20.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/1.434, allocations: 393.9 kB / 1.247 GB, free: 20.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009075/1.434, allocations: 367.1 kB / 1.247 GB, free: 20.57 MB / 0.9011 GB Warning: Assuming fixed start value for the following 7 variables: isenthalpic1.inlet.m_flow:VARIABLE(flow=true unit = \"kg/s\" fixed = true ) \"Mass flow rate\" type: Real isochoric1.inlet.m_flow:VARIABLE(flow=true unit = \"kg/s\" fixed = true ) \"Mass flow rate\" type: Real polytropic3.inlet.m_flow:VARIABLE(flow=true unit = \"kg/s\" fixed = true ) \"Mass flow rate\" type: Real adiabatic1.inlet.m_flow:VARIABLE(flow=true unit = \"kg/s\" fixed = true ) \"Mass flow rate\" type: Real flowResistance6.inlet.m_flow:VARIABLE(flow=true unit = \"kg/s\" fixed = true ) \"Mass flow rate\" type: Real flowResistance4.inlet.m_flow:VARIABLE(flow=true unit = \"kg/s\" fixed = true ) \"Mass flow rate\" type: Real flowResistance3.inlet.m_flow:VARIABLE(flow=true unit = \"kg/s\" fixed = true ) \"Mass flow rate\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (444): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,4,100.0%), (1,4,100.0%), (1,6,100.0%), (1,4,100.0%), (1,4,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00237/1.437, allocations: 0.6119 MB / 1.248 GB, free: 20.45 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1.438, allocations: 0.5102 MB / 1.248 GB, free: 20.17 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009311/1.448, allocations: 7.865 MB / 1.256 GB, free: 19.61 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/1.448, allocations: 39 kB / 1.256 GB, free: 19.61 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.444e-05/1.448, allocations: 7.906 kB / 1.256 GB, free: 19.61 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/1.448, allocations: 23.89 kB / 1.256 GB, free: 19.61 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/1.46, allocations: 7.518 MB / 1.263 GB, free: 18.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.46, allocations: 5.188 kB / 1.263 GB, free: 18.28 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002975/1.463, allocations: 1.099 MB / 1.264 GB, free: 18.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007819/1.464, allocations: 352.9 kB / 1.265 GB, free: 18.22 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004812/1.465, allocations: 166.4 kB / 1.265 GB, free: 18.22 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/1.469, allocations: 10.43 MB / 1.275 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.469, allocations: 10.22 kB / 1.275 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007561/1.477, allocations: 5.83 MB / 1.281 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/1.479, allocations: 0.7742 MB / 1.282 GB, free: 7.914 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008572/1.48, allocations: 95.8 kB / 1.282 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.481, allocations: 98.31 kB / 1.282 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/1.482, allocations: 350 kB / 1.282 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000366/1.482, allocations: 288.3 kB / 1.282 GB, free: 7.887 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003094/1.485, allocations: 2.227 MB / 1.285 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/1.485, allocations: 0 / 1.285 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005253/1.49, allocations: 1.517 MB / 1.286 GB, free: 7.559 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (isochoric1.inlet.m_flow,isenthalpic1.inlet.m_flow,polytropic3.inlet.m_flow,adiabatic1.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance4.inlet.m_flow,flowResistance3.inlet.m_flow) * 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 (363): * Single equations (assignments): 356 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,4,100.0%), (1,4,100.0%), (1,6,100.0%), (1,4,100.0%), (1,4,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009593/1.5, allocations: 7.576 MB / 1.293 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004648/1.505, allocations: 3.771 MB / 1.297 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.505, allocations: 0 / 1.297 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/1.507, allocations: 2.408 MB / 1.299 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008649/1.515, allocations: 2.455 MB / 1.302 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05067/1.566, allocations: 30.35 MB / 1.331 GB, free: 9.785 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/1.568, allocations: 1.793 MB / 1.333 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.008645/1.576, allocations: 4.484 MB / 1.338 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003798/1.58, allocations: 2.484 MB / 1.34 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of SimCode: time 2.415e-06/1.58, allocations: 0 / 1.34 GB, free: 1.828 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1748/1.755, allocations: 139.6 MB / 1.476 GB, free: 7.668 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/13.38, allocations: 4.609 kB / 1.476 GB, free: 7.664 MB / 1.073 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Icons.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Icons.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Icons.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Icons.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Icons_res.csv --start-time 0 --stop-time 2 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Icons.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Icons.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 16.339952986687422]