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.0008064/0.0008064, allocations: 96.7 kB / 19.44 MB, free: 356 kB / 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.001208/0.001208, allocations: 157.3 kB / 22.75 MB, free: 1.684 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 0.8984/0.8984, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.6433/0.6433, allocations: 118.5 MB / 378 MB, free: 1.59 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.914e-06/1.914e-06, allocations: 0 / 482.2 MB, free: 8.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.995e-05, allocations: 6.25 kB / 482.3 MB, free: 8.594 MB / 410.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.5196/0.5196, allocations: 383.8 MB / 0.8458 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02259/0.5422, allocations: 19.76 MB / 0.8651 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003153/0.5454, allocations: 277.2 kB / 0.8653 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003847/0.5492, allocations: 1.93 MB / 0.8672 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01336/0.5626, allocations: 6.897 MB / 0.8739 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01138/0.574, allocations: 5.315 MB / 0.8791 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008476/0.5825, allocations: 8.647 MB / 0.8876 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008891/0.5833, allocations: 0.632 MB / 0.8882 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006458/0.5898, allocations: 6.029 MB / 0.8941 GB, free: 12.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.5918, allocations: 2.325 MB / 0.8964 GB, free: 10.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003418/0.5922, allocations: 312 kB / 0.8967 GB, free: 9.793 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009207/0.6014, allocations: 4.893 MB / 0.9014 GB, free: 4.891 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004849/0.6018, allocations: 0.8936 MB / 0.9023 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.6031, allocations: 1.616 MB / 0.9039 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.3483/0.9514, allocations: 9.455 MB / 0.9131 GB, free: 39.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9514, allocations: 3.375 kB / 0.9131 GB, free: 39.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9514, allocations: 0 / 0.9131 GB, free: 39.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002012/0.9516, allocations: 0.7656 kB / 0.9131 GB, free: 39.59 MB / 0.698 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.01105/0.9626, allocations: 6.274 MB / 0.9192 GB, free: 36.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9627, allocations: 7.969 kB / 0.9193 GB, free: 36.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004783/0.9632, allocations: 478.2 kB / 0.9197 GB, free: 36.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006892/0.9701, allocations: 2.007 MB / 0.9217 GB, free: 36.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0054/0.9755, allocations: 3.234 MB / 0.9248 GB, free: 35.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/0.9759, allocations: 0.7884 MB / 0.9256 GB, free: 34.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005752/0.9764, allocations: 356.9 kB / 0.9259 GB, free: 34.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004949/0.9814, allocations: 3.897 MB / 0.9297 GB, free: 34.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-05/0.9814, allocations: 8.719 kB / 0.9298 GB, free: 34.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.9817, allocations: 144.2 kB / 0.9299 GB, free: 34.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.9818, allocations: 88.53 kB / 0.93 GB, free: 34.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004231/0.986, allocations: 3.172 MB / 0.9331 GB, free: 34.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.9994, allocations: 11.65 MB / 0.9445 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/1.004, allocations: 3.515 MB / 0.9479 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001849/1.006, allocations: 1.507 MB / 0.9494 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004575/1.006, allocations: 236.9 kB / 0.9496 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/1.006, allocations: 91.52 kB / 0.9497 GB, free: 29.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=396): time 5.49e-06/1.006, allocations: 0 / 0.9497 GB, free: 29.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=396): time 0.00725/1.013, allocations: 5.035 MB / 0.9546 GB, free: 28.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/1.014, allocations: 280.6 kB / 0.9549 GB, free: 28.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003204/1.017, allocations: 3.341 MB / 0.9581 GB, free: 28.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/1.017, allocations: 88.2 kB / 0.9582 GB, free: 28.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009232/1.018, allocations: 1.922 MB / 0.9601 GB, free: 27.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/1.019, allocations: 1.377 MB / 0.9614 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008249/1.019, allocations: 0.7464 MB / 0.9622 GB, free: 26.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 2.844e-05/1.019, allocations: 301.1 kB / 0.9624 GB, free: 26.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/1.021, allocations: 1.066 MB / 0.9635 GB, free: 26.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/1.022, allocations: 1.68 MB / 0.9651 GB, free: 25.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/1.043, allocations: 7.553 MB / 0.9725 GB, free: 25.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/1.043, allocations: 8.266 kB / 0.9725 GB, free: 25.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.005561/1.048, allocations: 4.241 MB / 0.9766 GB, free: 24.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/1.048, allocations: 16.12 kB / 0.9767 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.048, allocations: 17.16 kB / 0.9767 GB, free: 24.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/1.049, allocations: 348.5 kB / 0.977 GB, free: 24.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/1.052, allocations: 1.289 MB / 0.9783 GB, free: 24.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004171/1.056, allocations: 10.45 MB / 0.9885 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/1.059, allocations: 388.8 kB / 0.9888 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004109/1.059, allocations: 365.9 kB / 0.9892 GB, free: 15.91 MB / 0.698 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.001699/1.061, allocations: 0.6141 MB / 0.9898 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007929/1.062, allocations: 0.6333 MB / 0.9904 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008067/1.07, allocations: 7.854 MB / 0.9981 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/1.07, allocations: 38.81 kB / 0.9981 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/1.07, allocations: 7.812 kB / 0.9981 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.196e-05/1.07, allocations: 22.88 kB / 0.9981 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007905/1.078, allocations: 7.497 MB / 1.005 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/1.078, allocations: 4 kB / 1.005 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002577/1.08, allocations: 1.108 MB / 1.007 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005109/1.081, allocations: 363.5 kB / 1.007 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/1.081, allocations: 166.3 kB / 1.007 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/1.085, allocations: 10.44 MB / 1.017 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.085, allocations: 10.53 kB / 1.017 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006989/1.092, allocations: 5.939 MB / 1.023 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001653/1.093, allocations: 0.7797 MB / 1.024 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/1.094, allocations: 83.42 kB / 1.024 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.095, allocations: 93.3 kB / 1.024 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00047/1.096, allocations: 355.6 kB / 1.024 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000354/1.096, allocations: 291.4 kB / 1.025 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00225/1.098, allocations: 2.228 MB / 1.027 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/1.098, allocations: 0 / 1.027 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003618/1.102, allocations: 1.519 MB / 1.028 GB, free: 9.34 MB / 0.7136 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.008612/1.11, allocations: 7.723 MB / 1.036 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005234/1.116, allocations: 3.763 MB / 1.039 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/1.116, allocations: 0 / 1.039 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/1.118, allocations: 2.403 MB / 1.042 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006172/1.124, allocations: 2.591 MB / 1.044 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03693/1.161, allocations: 30.74 MB / 1.074 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.162, allocations: 1.787 MB / 1.076 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.006811/1.169, allocations: 4.483 MB / 1.081 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002579/1.172, allocations: 2.49 MB / 1.083 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of SimCode: time 2.505e-06/1.172, allocations: 0 / 1.083 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1517/1.323, allocations: 139.9 MB / 1.22 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/13.45, allocations: 15.83 kB / 1.22 GB, free: 8.062 MB / 0.9011 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.316835921257734]