Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_mixing_streams.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.001453/0.001453, allocations: 116.8 kB / 17.17 MB, free: 6 MB / 14.72 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.001518/0.001518, allocations: 214.3 kB / 20.13 MB, free: 3.055 MB / 14.72 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.57/1.57, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1421/0.1421, allocations: 22.94 MB / 332.5 MB, free: 2.629 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES 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(AES.Devel_test_models.Test_liquid_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003135/0.003135, allocations: 64.34 kB / 466.7 MB, free: 32.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1314, allocations: 59.27 MB / 0.5137 GB, free: 14.01 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_mixing_streams): time 0.04173/0.1731, allocations: 22.61 MB / 0.5358 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008551/0.1739, allocations: 183.2 kB / 0.5359 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.1741, allocations: 4 kB / 0.5359 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.917e-05/0.1742, allocations: 31.72 kB / 0.536 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.1746, allocations: 63.47 kB / 0.536 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.1747, allocations: 27.97 kB / 0.5361 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.175, allocations: 187 kB / 0.5362 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.1753, allocations: 101.5 kB / 0.5363 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.1755, allocations: 83.66 kB / 0.5364 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1757, allocations: 91.61 kB / 0.5365 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1758, allocations: 16 kB / 0.5365 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.109e-05/0.1758, allocations: 16 kB / 0.5365 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.1758, allocations: 39.83 kB / 0.5366 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.176, allocations: 79.61 kB / 0.5367 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.1763, allocations: 191.2 kB / 0.5368 GB, free: 6.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1763, allocations: 0 / 0.5368 GB, free: 6.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1763, allocations: 0 / 0.5368 GB, free: 6.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.1763, allocations: 0 / 0.5368 GB, free: 6.414 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008918/0.1772, allocations: 462.8 kB / 0.5373 GB, free: 5.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1772, allocations: 16.62 kB / 0.5373 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.171e-05/0.1773, allocations: 4.422 kB / 0.5373 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.785e-05/0.1773, allocations: 50.67 kB / 0.5373 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.1774, allocations: 24.8 kB / 0.5374 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.1777, allocations: 220.8 kB / 0.5376 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.1777, allocations: 8.609 kB / 0.5376 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.1778, allocations: 12.38 kB / 0.5376 GB, free: 5.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.1782, allocations: 161.2 kB / 0.5378 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1782, allocations: 7.984 kB / 0.5378 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.1782, allocations: 4 kB / 0.5378 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/0.1782, allocations: 4 kB / 0.5378 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.1786, allocations: 103.9 kB / 0.5379 GB, free: 5.25 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.1798, allocations: 0.6318 MB / 0.5385 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.18, allocations: 50.56 kB / 0.5385 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.1801, allocations: 32.84 kB / 0.5386 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1801, allocations: 0 / 0.5386 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1802, allocations: 38.5 kB / 0.5386 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001595/0.1803, allocations: 24.03 kB / 0.5386 GB, free: 4.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1803, allocations: 0 / 0.5386 GB, free: 4.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005114/0.1808, allocations: 117.5 kB / 0.5387 GB, free: 4.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.1809, allocations: 59.33 kB / 0.5388 GB, free: 4.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1811, allocations: 191.2 kB / 0.539 GB, free: 3.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.1811, allocations: 29.7 kB / 0.539 GB, free: 3.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1812, allocations: 131.9 kB / 0.5391 GB, free: 3.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.1813, allocations: 27.75 kB / 0.5392 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.1813, allocations: 25.7 kB / 0.5392 GB, free: 3.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1815, allocations: 326.8 kB / 0.5395 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1816, allocations: 27.98 kB / 0.5395 GB, free: 3.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1817, allocations: 42.56 kB / 0.5396 GB, free: 3.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.1829, allocations: 194.3 kB / 0.5397 GB, free: 3.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1829, allocations: 7.938 kB / 0.5397 GB, free: 3.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00035/0.1832, allocations: 125.5 kB / 0.5399 GB, free: 3.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1832, allocations: 4 kB / 0.5399 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1833, allocations: 0 / 0.5399 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1833, allocations: 4 kB / 0.5399 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.1834, allocations: 20.08 kB / 0.5399 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.1835, allocations: 19.75 kB / 0.5399 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.1836, allocations: 4 kB / 0.5399 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1836, allocations: 7.984 kB / 0.5399 GB, free: 2.965 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002162/0.1838, allocations: 129.5 kB / 0.54 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.1838, allocations: 11.91 kB / 0.5401 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.1841, allocations: 119 kB / 0.5402 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1841, allocations: 0 / 0.5402 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1842, allocations: 7.938 kB / 0.5402 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1842, allocations: 0 / 0.5402 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1845, allocations: 229.5 kB / 0.5404 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1845, allocations: 12 kB / 0.5404 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.1846, allocations: 23.98 kB / 0.5404 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1846, allocations: 0 / 0.5404 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1846, allocations: 0 / 0.5404 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1846, allocations: 0 / 0.5404 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.1846, allocations: 7.938 kB / 0.5404 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.185, allocations: 227.4 kB / 0.5407 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.57e-05/0.1851, allocations: 93.05 kB / 0.5407 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.1851, allocations: 8 kB / 0.5408 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1852, allocations: 3.984 kB / 0.5408 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.1852, allocations: 15.88 kB / 0.5408 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1853, allocations: 4 kB / 0.5408 GB, free: 1.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1854, allocations: 144.2 kB / 0.5409 GB, free: 1.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1854, allocations: 0 / 0.5409 GB, free: 1.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1857, allocations: 24 kB / 0.5409 GB, free: 1.828 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (H.T) * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007101/0.1864, allocations: 0.7798 MB / 0.5417 GB, free: 1.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.1866, allocations: 63.91 kB / 0.5418 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1866, allocations: 0 / 0.5418 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.1867, allocations: 39.86 kB / 0.5418 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.1871, allocations: 42.38 kB / 0.5418 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.1896, allocations: 1.902 MB / 0.5437 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.19, allocations: 0.7163 MB / 0.5444 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.035e-05/0.19, allocations: 21.55 kB / 0.5444 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.42e-05/0.1901, allocations: 51.41 kB / 0.5445 GB, free: 14.07 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1901, allocations: 0.6562 kB / 0.5445 GB, free: 14.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.2107, allocations: 3.598 MB / 0.548 GB, free: 10.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.513, allocations: 14.69 kB / 0.548 GB, free: 10.52 MB / 414.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_mixing_streams.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_mixing_streams_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_mixing_streams.fmu > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.516314773994964] Failed to read output from testmodel.py, exit status != 0: 8.64429604401812 8.657901718 8.478358768 Calling exit ...