Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007502/0.0007502, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008382/0.0008382, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9482/0.9482, allocations: 230.6 MB / 256 MB, free: 9.785 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7905/0.7905, allocations: 203.8 MB / 0.5041 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 master/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_dev_IDEAS_Fluid_Taps_Examples_TapProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.TapProfile,fileNamePrefix="IDEAS_dev_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.0009354/0.0009354, allocations: 66.3 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4862, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.03338/0.5195, allocations: 44.65 MB / 0.8615 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009319/0.5289, allocations: 8.722 MB / 0.87 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009489/0.5298, allocations: 64.38 kB / 0.87 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.531, allocations: 0.5307 MB / 0.8706 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003313/0.5344, allocations: 1.639 MB / 0.8722 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.537, allocations: 1.259 MB / 0.8734 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002716/0.5398, allocations: 2.703 MB / 0.876 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009912/0.5408, allocations: 0.75 MB / 0.8768 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.5431, allocations: 1.538 MB / 0.8783 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007499/0.5439, allocations: 0.7458 MB / 0.879 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.544, allocations: 89.22 kB / 0.8791 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.5456, allocations: 0.9818 MB / 0.88 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.5458, allocations: 265 kB / 0.8803 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.5462, allocations: 0.5453 MB / 0.8808 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.548, allocations: 1.747 MB / 0.8825 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.548, allocations: 0 / 0.8825 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.824e-06/0.548, allocations: 0 / 0.8825 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.548, allocations: 3.938 kB / 0.8825 GB, free: 0.7891 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.001431/0.5494, allocations: 1.367 MB / 0.8839 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5495, allocations: 9.281 kB / 0.8839 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.05e-05/0.5496, allocations: 109.7 kB / 0.884 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.5498, allocations: 138.7 kB / 0.8841 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.5508, allocations: 0.7772 MB / 0.8849 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.5509, allocations: 49.97 kB / 0.8849 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.5509, allocations: 69.62 kB / 0.885 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009053/0.5519, allocations: 0.7853 MB / 0.8857 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5519, allocations: 9.219 kB / 0.8858 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.5519, allocations: 32.09 kB / 0.8858 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.5519, allocations: 16.69 kB / 0.8858 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006902/0.5526, allocations: 0.5084 MB / 0.8863 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.5553, allocations: 3.793 MB / 0.89 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.5557, allocations: 318.3 kB / 0.8903 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.5559, allocations: 197.2 kB / 0.8905 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.5562, allocations: 115.1 kB / 0.8906 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/0.5565, allocations: 266.4 kB / 0.8909 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=41): time 2.113e-06/0.5565, allocations: 0 / 0.8909 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=41): time 0.0009258/0.5574, allocations: 0.6496 MB / 0.8915 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.5575, allocations: 115.7 kB / 0.8916 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007377/0.5582, allocations: 0.8456 MB / 0.8924 GB, free: 9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.5583, allocations: 41.7 kB / 0.8925 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.5585, allocations: 480.5 kB / 0.8929 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.5586, allocations: 142.8 kB / 0.8931 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.5587, allocations: 126.3 kB / 0.8932 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.5588, allocations: 326 kB / 0.8935 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.559, allocations: 173.2 kB / 0.8937 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.5593, allocations: 393.5 kB / 0.894 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.5598, allocations: 0.5337 MB / 0.8946 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5598, allocations: 8 kB / 0.8946 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007132/0.5605, allocations: 0.6563 MB / 0.8952 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.5605, allocations: 8 kB / 0.8952 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5605, allocations: 4 kB / 0.8952 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5606, allocations: 8 kB / 0.8952 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.5608, allocations: 123.8 kB / 0.8953 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5608, allocations: 15.88 kB / 0.8954 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.5611, allocations: 87.83 kB / 0.8954 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.5611, allocations: 31.98 kB / 0.8955 GB, free: 5.699 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.0002208/0.5613, allocations: 265.6 kB / 0.8957 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.5614, allocations: 103.3 kB / 0.8958 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.5627, allocations: 1.121 MB / 0.8969 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.5627, allocations: 15.98 kB / 0.8969 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5627, allocations: 3.938 kB / 0.8969 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.5627, allocations: 3.984 kB / 0.8969 GB, free: 4.176 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.5644, allocations: 1.983 MB / 0.8989 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.5644, allocations: 4 kB / 0.8989 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.5646, allocations: 91.81 kB / 0.899 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5646, allocations: 4 kB / 0.899 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.5646, allocations: 23.98 kB / 0.899 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5646, allocations: 4 kB / 0.899 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5646, allocations: 7.938 kB / 0.899 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/0.5655, allocations: 1.021 MB / 0.9 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.5657, allocations: 199 kB / 0.9002 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.5657, allocations: 16 kB / 0.9002 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.5659, allocations: 39.97 kB / 0.9002 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.566, allocations: 52.34 kB / 0.9003 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.566, allocations: 43.97 kB / 0.9003 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004808/0.5665, allocations: 0.5745 MB / 0.9009 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.5665, allocations: 0 / 0.9009 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006916/0.5672, allocations: 375 kB / 0.9013 GB, free: 15.6 MB / 0.6823 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 (69): * Single equations (assignments): 49 * 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.002144/0.5694, allocations: 2.248 MB / 0.9034 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007867/0.5701, allocations: 0.5849 MB / 0.904 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5702, allocations: 0 / 0.904 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.5705, allocations: 371.2 kB / 0.9044 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009569/0.5715, allocations: 393.2 kB / 0.9047 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005954/0.5774, allocations: 6.838 MB / 0.9114 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.5778, allocations: 1.058 MB / 0.9125 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003472/0.5782, allocations: 191 kB / 0.9126 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.5785, allocations: 391.3 kB / 0.913 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of SimCode: time 7.21e-07/0.5785, allocations: 0 / 0.913 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04048/0.619, allocations: 30.29 MB / 0.9426 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.72, allocations: 22.05 kB / 0.9426 GB, free: 5.227 MB / 0.7136 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_TapProfile.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.749733983073384] Failed to read output from testmodel.py, exit status != 0: 8.851379366125911 8.863299653 8.313403885 Calling exit ...