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.001115/0.001115, allocations: 76.44 kB / 19.17 MB, free: 0.7227 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.001198/0.001198, allocations: 165.9 kB / 22.46 MB, free: 2.086 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 1.061/1.061, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.8139/0.8139, allocations: 118.5 MB / 377.7 MB, free: 1.715 MB / 346.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 1.422e-06/1.422e-06, allocations: 0 / 0.557 GB, free: 9.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.509e-05, allocations: 10.22 kB / 0.557 GB, free: 9.176 MB / 490.7 MB [/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.6939/0.6939, allocations: 383.8 MB / 0.9319 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.6249/1.319, allocations: 19.74 MB / 0.9511 GB, free: 17.01 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008751/1.328, allocations: 276.9 kB / 0.9514 GB, free: 17.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.008666/1.336, allocations: 1.929 MB / 0.9533 GB, free: 17.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.031/1.367, allocations: 6.905 MB / 0.96 GB, free: 16.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01848/1.386, allocations: 5.316 MB / 0.9652 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01534/1.401, allocations: 8.643 MB / 0.9737 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002243/1.403, allocations: 0.6366 MB / 0.9743 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01913/1.422, allocations: 6.019 MB / 0.9802 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00803/1.43, allocations: 2.319 MB / 0.9824 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.002385/1.433, allocations: 318 kB / 0.9827 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02025/1.453, allocations: 4.885 MB / 0.9875 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002511/1.456, allocations: 0.893 MB / 0.9884 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.005799/1.461, allocations: 1.617 MB / 0.99 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.03017/1.492, allocations: 9.462 MB / 0.9992 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.492, allocations: 0 / 0.9992 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.396e-06/1.492, allocations: 0.9062 kB / 0.9992 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002472/1.492, allocations: 0 / 0.9992 GB, free: 10.47 MB / 0.7761 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.01449/1.506, allocations: 6.265 MB / 1.005 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.506, allocations: 15.12 kB / 1.005 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004811/1.507, allocations: 476.5 kB / 1.006 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005396/1.512, allocations: 1.374 MB / 1.007 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006992/1.519, allocations: 2.987 MB / 1.01 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/1.52, allocations: 0.7856 MB / 1.011 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008349/1.52, allocations: 358 kB / 1.011 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006713/1.527, allocations: 3.898 MB / 1.015 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.084e-05/1.527, allocations: 7.844 kB / 1.015 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000332/1.528, allocations: 145.9 kB / 1.015 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.68e-05/1.528, allocations: 91.03 kB / 1.015 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005294/1.533, allocations: 3.172 MB / 1.018 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01946/1.552, allocations: 11.56 MB / 1.03 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005515/1.558, allocations: 3.526 MB / 1.033 GB, free: 456 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002316/1.56, allocations: 1.494 MB / 1.034 GB, free: 380 kB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005072/1.561, allocations: 217.6 kB / 1.035 GB, free: 368 kB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/1.561, allocations: 86.03 kB / 1.035 GB, free: 320 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=396): time 7.795e-06/1.561, allocations: 2.625 kB / 1.035 GB, free: 320 kB / 0.7761 GB Notification: Performance of matching and sorting (n=396): time 0.008769/1.57, allocations: 4.911 MB / 1.04 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/1.57, allocations: 282 kB / 1.04 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/1.575, allocations: 3.341 MB / 1.043 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003972/1.575, allocations: 88.08 kB / 1.043 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/1.577, allocations: 1.913 MB / 1.045 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.578, allocations: 1.38 MB / 1.046 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.579, allocations: 0.7481 MB / 1.047 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.579, allocations: 304.3 kB / 1.047 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/1.581, allocations: 1.061 MB / 1.048 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/1.583, allocations: 1.682 MB / 1.05 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02304/1.607, allocations: 7.554 MB / 1.057 GB, free: 8.531 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-05/1.607, allocations: 6.719 kB / 1.057 GB, free: 8.527 MB / 0.7917 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.007848/1.614, allocations: 4.082 MB / 1.061 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/1.614, allocations: 22.55 kB / 1.061 GB, free: 5.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/1.614, allocations: 16 kB / 1.062 GB, free: 5.074 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/1.615, allocations: 353.3 kB / 1.062 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/1.618, allocations: 1.284 MB / 1.063 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00613/1.624, allocations: 10.41 MB / 1.073 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/1.628, allocations: 385 kB / 1.074 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007447/1.629, allocations: 368.8 kB / 1.074 GB, free: 7.664 MB / 0.8073 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.002169/1.631, allocations: 0.6094 MB / 1.075 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/1.632, allocations: 0.5124 MB / 1.075 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00965/1.642, allocations: 7.849 MB / 1.083 GB, free: 15.04 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/1.642, allocations: 43.98 kB / 1.083 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.218e-05/1.642, allocations: 8 kB / 1.083 GB, free: 14.99 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/1.642, allocations: 22.58 kB / 1.083 GB, free: 14.97 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/1.656, allocations: 7.502 MB / 1.09 GB, free: 7.496 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.656, allocations: 8 kB / 1.09 GB, free: 7.488 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/1.658, allocations: 1.109 MB / 1.091 GB, free: 6.426 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008047/1.659, allocations: 351.6 kB / 1.092 GB, free: 6.066 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003996/1.66, allocations: 159.9 kB / 1.092 GB, free: 5.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007614/1.667, allocations: 10.41 MB / 1.102 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.667, allocations: 6.344 kB / 1.102 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009087/1.676, allocations: 5.825 MB / 1.108 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002587/1.679, allocations: 0.7734 MB / 1.108 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009922/1.68, allocations: 79.95 kB / 1.108 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/1.682, allocations: 98.64 kB / 1.109 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006447/1.682, allocations: 356.6 kB / 1.109 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004257/1.683, allocations: 287.9 kB / 1.109 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003558/1.686, allocations: 2.222 MB / 1.111 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.686, allocations: 0 / 1.111 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006269/1.692, allocations: 1.525 MB / 1.113 GB, free: 15.54 MB / 0.8542 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.01174/1.704, allocations: 7.598 MB / 1.12 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007703/1.712, allocations: 3.759 MB / 1.124 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/1.712, allocations: 0 / 1.124 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003788/1.716, allocations: 2.418 MB / 1.126 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00965/1.725, allocations: 2.454 MB / 1.129 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05802/1.783, allocations: 30.4 MB / 1.158 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/1.785, allocations: 1.788 MB / 1.16 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.008967/1.794, allocations: 4.497 MB / 1.164 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004054/1.798, allocations: 2.472 MB / 1.167 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of SimCode: time 1.643e-06/1.798, allocations: 4 kB / 1.167 GB, free: 8.09 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5585/2.357, allocations: 139.4 MB / 1.303 GB, free: 0.5003 GB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/15.32, allocations: 4.078 kB / 1.303 GB, free: 0.5003 GB / 1.026 GB " [Timeout remaining time 645] (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: 18.85398008674383]