Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.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.0007637/0.0007637, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001019/0.001019, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.953/0.953, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7814/0.7814, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009057/0.0009057, allocations: 68.53 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4785, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.03092/0.5095, allocations: 40.45 MB / 0.8569 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0106/0.5201, allocations: 8.171 MB / 0.8649 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.5212, allocations: 59.38 kB / 0.8649 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.5227, allocations: 0.5368 MB / 0.8654 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.5255, allocations: 1.601 MB / 0.867 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001828/0.5273, allocations: 1.217 MB / 0.8682 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.5295, allocations: 2.69 MB / 0.8708 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008087/0.5303, allocations: 0.741 MB / 0.8715 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002195/0.5325, allocations: 1.534 MB / 0.873 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009485/0.5335, allocations: 0.7074 MB / 0.8737 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.5336, allocations: 89.22 kB / 0.8738 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.535, allocations: 0.7608 MB / 0.8746 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.5352, allocations: 270.1 kB / 0.8748 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.5356, allocations: 442.3 kB / 0.8752 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.5377, allocations: 1.725 MB / 0.8769 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5377, allocations: 3.938 kB / 0.8769 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5377, allocations: 4 kB / 0.8769 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.591e-05/0.5377, allocations: 5 kB / 0.8769 GB, free: 6.395 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001855/0.5396, allocations: 1.356 MB / 0.8783 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5396, allocations: 9 kB / 0.8783 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.5398, allocations: 112.9 kB / 0.8784 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.5401, allocations: 139.7 kB / 0.8785 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5411, allocations: 0.7574 MB / 0.8792 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.5412, allocations: 54.56 kB / 0.8793 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.5412, allocations: 65.81 kB / 0.8794 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.5422, allocations: 0.939 MB / 0.8803 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.5422, allocations: 5.25 kB / 0.8803 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.5423, allocations: 35.58 kB / 0.8803 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.5423, allocations: 16.97 kB / 0.8803 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.543, allocations: 0.5174 MB / 0.8808 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.5454, allocations: 3.068 MB / 0.8838 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.5459, allocations: 321 kB / 0.8841 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.5461, allocations: 197.8 kB / 0.8843 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.5464, allocations: 120.5 kB / 0.8844 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.5468, allocations: 367 kB / 0.8848 GB, free: 292 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 2.325e-06/0.5468, allocations: 0 / 0.8848 GB, free: 292 kB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.001112/0.548, allocations: 0.6695 MB / 0.8854 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.548, allocations: 106.8 kB / 0.8855 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.5492, allocations: 0.8659 MB / 0.8864 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.5493, allocations: 37.7 kB / 0.8864 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.5495, allocations: 484.5 kB / 0.8869 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.5496, allocations: 138.8 kB / 0.887 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.5497, allocations: 130.3 kB / 0.8871 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.5498, allocations: 330 kB / 0.8875 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.55, allocations: 169.2 kB / 0.8876 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.5504, allocations: 0.7442 MB / 0.8883 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/0.5509, allocations: 0.5427 MB / 0.8889 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5509, allocations: 4 kB / 0.8889 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007756/0.5517, allocations: 0.6638 MB / 0.8895 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.5517, allocations: 8 kB / 0.8895 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5517, allocations: 4 kB / 0.8895 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.5518, allocations: 12.67 kB / 0.8896 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.552, allocations: 131.8 kB / 0.8897 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.5521, allocations: 19.86 kB / 0.8897 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.5524, allocations: 83.42 kB / 0.8898 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.5524, allocations: 35.98 kB / 0.8898 GB, free: 11.11 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0002442/0.5527, allocations: 265.5 kB / 0.8901 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.5528, allocations: 103.3 kB / 0.8902 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.5539, allocations: 1.129 MB / 0.8913 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.5539, allocations: 11.98 kB / 0.8913 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.554, allocations: 3.938 kB / 0.8913 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.554, allocations: 3.984 kB / 0.8913 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.5559, allocations: 1.917 MB / 0.8932 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5559, allocations: 3.938 kB / 0.8932 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.5561, allocations: 88.27 kB / 0.8932 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.5561, allocations: 12 kB / 0.8933 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.5561, allocations: 19.98 kB / 0.8933 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5561, allocations: 4 kB / 0.8933 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5561, allocations: 7.938 kB / 0.8933 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/0.557, allocations: 1.028 MB / 0.8943 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.5572, allocations: 203 kB / 0.8945 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.5573, allocations: 20 kB / 0.8945 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.5575, allocations: 35.97 kB / 0.8945 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.5575, allocations: 56.34 kB / 0.8946 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.5576, allocations: 39.92 kB / 0.8946 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004683/0.558, allocations: 0.5823 MB / 0.8952 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.1e-07/0.558, allocations: 0 / 0.8952 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007458/0.5588, allocations: 375 kB / 0.8956 GB, free: 5.055 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.002176/0.561, allocations: 2.315 MB / 0.8978 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006468/0.5616, allocations: 0.5888 MB / 0.8984 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5616, allocations: 4 kB / 0.8984 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.562, allocations: 366.7 kB / 0.8987 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/0.563, allocations: 412.6 kB / 0.8991 GB, free: 1.598 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/0.5689, allocations: 6.856 MB / 0.9058 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.5692, allocations: 468 kB / 0.9063 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003389/0.5695, allocations: 198.9 kB / 0.9065 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/0.5701, allocations: 387.3 kB / 0.9068 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/0.5701, allocations: 0 / 0.9068 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04273/0.6128, allocations: 31.86 MB / 0.938 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.337, allocations: 8.047 kB / 0.938 GB, free: 9.828 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.312164515256882] Failed to read output from testmodel.py, exit status != 0: 8.472781034186482 8.4880903 7.94757145 Calling exit ...