Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.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.001325/0.001325, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001476/0.001476, allocations: 217.1 kB / 22.25 MB, free: 5.082 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8263/0.8263, allocations: 134 MB / 446.4 MB, free: 10.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",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.001999/0.001999, allocations: 66.39 kB / 0.6185 GB, free: 7.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1596, allocations: 85.9 MB / 0.7024 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6011/0.7607, allocations: 242.2 MB / 0.9389 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02328/0.784, allocations: 15.9 MB / 0.9545 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.7864, allocations: 83.25 kB / 0.9545 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.7897, allocations: 1.087 MB / 0.9556 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008195/0.7978, allocations: 3.131 MB / 0.9587 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00467/0.8025, allocations: 1.74 MB / 0.9604 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005514/0.808, allocations: 3.483 MB / 0.9638 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.8101, allocations: 1.018 MB / 0.9648 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006766/0.8168, allocations: 2.634 MB / 0.9673 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/0.8194, allocations: 1.15 MB / 0.9685 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003732/0.8198, allocations: 120 kB / 0.9686 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006339/0.8261, allocations: 3.289 MB / 0.9718 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007242/0.8269, allocations: 494.2 kB / 0.9723 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.8284, allocations: 0.8163 MB / 0.9731 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006207/0.8346, allocations: 3.001 MB / 0.976 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8346, allocations: 0 / 0.976 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8346, allocations: 0 / 0.976 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.386e-05/0.8347, allocations: 0 / 0.976 GB, free: 14.27 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004257/0.8389, allocations: 1.997 MB / 0.9779 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.839, allocations: 8.031 kB / 0.9779 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002344/0.8392, allocations: 156.2 kB / 0.9781 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/0.842, allocations: 0.5094 MB / 0.9786 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.8445, allocations: 1.09 MB / 0.9797 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.201e-05/0.8446, allocations: 89.92 kB / 0.9797 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.8447, allocations: 100 kB / 0.9798 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.8472, allocations: 1.342 MB / 0.9811 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.8472, allocations: 7.938 kB / 0.9812 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.8473, allocations: 47.98 kB / 0.9812 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.8474, allocations: 45.98 kB / 0.9812 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00243/0.8498, allocations: 1.05 MB / 0.9823 GB, free: 7.625 MB / 0.7481 GB 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.008561/0.8584, allocations: 7.337 MB / 0.9894 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.8599, allocations: 0.5191 MB / 0.9899 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/0.8605, allocations: 249.2 kB / 0.9902 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/0.8608, allocations: 52.23 kB / 0.9902 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.8608, allocations: 38.84 kB / 0.9903 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/0.8608, allocations: 4 kB / 0.9903 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of matching and sorting (n=33): time 0.002304/0.8631, allocations: 0.8496 MB / 0.9911 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.8631, allocations: 51.41 kB / 0.9911 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.8652, allocations: 1.391 MB / 0.9925 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/0.8652, allocations: 37.7 kB / 0.9925 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/0.8658, allocations: 0.7196 MB / 0.9932 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.866, allocations: 123 kB / 0.9934 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.8662, allocations: 174.5 kB / 0.9935 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8664, allocations: 334 kB / 0.9938 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008101/0.8672, allocations: 316.6 kB / 0.9941 GB, free: 10.92 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.8683, allocations: 0.7109 MB / 0.9948 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.8701, allocations: 0.9422 MB / 0.9958 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.8701, allocations: 11.94 kB / 0.9958 GB, free: 8.898 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002394/0.8725, allocations: 1.07 MB / 0.9968 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.8725, allocations: 13.88 kB / 0.9968 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.8726, allocations: 13 kB / 0.9968 GB, free: 7.797 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.018e-05/0.8726, allocations: 23.92 kB / 0.9969 GB, free: 7.773 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008439/0.8734, allocations: 207.7 kB / 0.9971 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.8735, allocations: 23.88 kB / 0.9971 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.8747, allocations: 187 kB / 0.9973 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.95e-05/0.8748, allocations: 47.98 kB / 0.9973 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001216/0.8761, allocations: 0.5693 MB / 0.9979 GB, free: 6.742 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00115/0.8772, allocations: 0.7071 MB / 0.9986 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001775/0.879, allocations: 0.9496 MB / 0.9995 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.213e-06/0.879, allocations: 0 / 0.9995 GB, free: 4.738 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002418/0.8814, allocations: 1.07 MB / 1.001 GB, free: 3.66 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8814, allocations: 15.94 kB / 1.001 GB, free: 3.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.8814, allocations: 12 kB / 1.001 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.8815, allocations: 16 kB / 1.001 GB, free: 3.617 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/0.8823, allocations: 208 kB / 1.001 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.8823, allocations: 23.92 kB / 1.001 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.8835, allocations: 138.7 kB / 1.001 GB, free: 3.258 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-05/0.8836, allocations: 43.98 kB / 1.001 GB, free: 3.215 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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.0002664/0.8839, allocations: 243.8 kB / 1.001 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.8841, allocations: 147.1 kB / 1.001 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.8858, allocations: 0.6374 MB / 1.002 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.8858, allocations: 0 / 1.002 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.8858, allocations: 4 kB / 1.002 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.8858, allocations: 7.922 kB / 1.002 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.8895, allocations: 1.862 MB / 1.004 GB, free: 200 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.8895, allocations: 4 kB / 1.004 GB, free: 196 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.89, allocations: 96.08 kB / 1.004 GB, free: 100 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.89, allocations: 4 kB / 1.004 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.8901, allocations: 15.98 kB / 1.004 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.8901, allocations: 4 kB / 1.004 GB, free: 76 kB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.8901, allocations: 7.938 kB / 1.004 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.8917, allocations: 0.8212 MB / 1.005 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00058/0.8923, allocations: 222.8 kB / 1.005 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.8925, allocations: 12 kB / 1.005 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009968/0.8935, allocations: 63.92 kB / 1.005 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.8936, allocations: 43.77 kB / 1.005 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.8936, allocations: 23.98 kB / 1.005 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001644/0.8953, allocations: 1.001 MB / 1.006 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8953, allocations: 8 kB / 1.006 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00195/0.8972, allocations: 0.5735 MB / 1.007 GB, free: 13.24 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * 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.00231/0.8995, allocations: 1.5 MB / 1.008 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002848/0.9024, allocations: 1.109 MB / 1.009 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.9024, allocations: 0 / 1.009 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.903, allocations: 248.6 kB / 1.009 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/0.9064, allocations: 0.7424 MB / 1.01 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.9243, allocations: 9.881 MB / 1.02 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009308/0.9252, allocations: 1.186 MB / 1.021 GB, free: 13.96 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001363/0.9266, allocations: 387.8 kB / 1.021 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006892/0.9273, allocations: 499.3 kB / 1.022 GB, free: 13.09 MB / 0.795 GB Notification: Performance of SimCode: time 6.11e-07/0.9273, allocations: 3.938 kB / 1.022 GB, free: 13.09 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07926/1.007, allocations: 36.26 MB / 1.057 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.95, allocations: 0 / 1.057 GB, free: 9.238 MB / 0.8262 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.7252567098476] Failed to read output from testmodel.py, exit status != 0: 14.07971234805882 14.37568434 13.53808854 Calling exit ...