Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 108 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7955/0.7955, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.27 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.183, allocations: 80.92 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01634/0.1993, allocations: 12.98 MB / 0.678 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.202, allocations: 2.663 MB / 0.6806 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.2021, allocations: 0 / 0.6806 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.2025, allocations: 47.69 kB / 0.6807 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.2028, allocations: 99.34 kB / 0.6808 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.2041, allocations: 0.5058 MB / 0.6813 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.2043, allocations: 239.9 kB / 0.6815 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.2044, allocations: 9.562 kB / 0.6815 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008128/0.2125, allocations: 3.572 MB / 0.685 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.2128, allocations: 95.59 kB / 0.6851 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.2128, allocations: 12 kB / 0.6851 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.2158, allocations: 1.068 MB / 0.6861 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.2159, allocations: 31.89 kB / 0.6862 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.2161, allocations: 87.58 kB / 0.6863 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.2171, allocations: 371 kB / 0.6866 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2172, allocations: 4 kB / 0.6866 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2172, allocations: 0 / 0.6866 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2172, allocations: 0 / 0.6866 GB, free: 15.88 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007841/0.218, allocations: 0.4992 MB / 0.6871 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.218, allocations: 9.109 kB / 0.6871 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.2182, allocations: 24.73 kB / 0.6871 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.2185, allocations: 220.2 kB / 0.6873 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.2185, allocations: 8.703 kB / 0.6874 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.2186, allocations: 20.38 kB / 0.6874 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.219, allocations: 244.2 kB / 0.6876 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.219, allocations: 0 / 0.6876 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.219, allocations: 8 kB / 0.6876 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.219, allocations: 7.984 kB / 0.6876 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.2195, allocations: 435.4 kB / 0.688 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.2207, allocations: 0.9604 MB / 0.689 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.221, allocations: 163 kB / 0.6891 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.2211, allocations: 60.88 kB / 0.6892 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.2226, allocations: 1.837 MB / 0.691 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.2226, allocations: 38.5 kB / 0.691 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.2226, allocations: 4 kB / 0.691 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003418/0.223, allocations: 141.5 kB / 0.6912 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.223, allocations: 55.34 kB / 0.6912 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.2232, allocations: 172.2 kB / 0.6914 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.2232, allocations: 33.69 kB / 0.6914 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.2233, allocations: 139.7 kB / 0.6915 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.2234, allocations: 59.19 kB / 0.6916 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.2234, allocations: 49.7 kB / 0.6916 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2235, allocations: 330.8 kB / 0.692 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.2236, allocations: 35.97 kB / 0.692 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2238, allocations: 137.7 kB / 0.6921 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.224, allocations: 208.4 kB / 0.6923 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.224, allocations: 0 / 0.6923 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003082/0.2243, allocations: 209.1 kB / 0.6925 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2243, allocations: 4.469 kB / 0.6925 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2243, allocations: 4 kB / 0.6925 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2244, allocations: 8 kB / 0.6925 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.2245, allocations: 63.84 kB / 0.6926 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2246, allocations: 4 kB / 0.6926 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.2247, allocations: 27.69 kB / 0.6926 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.2247, allocations: 16 kB / 0.6926 GB, free: 8.969 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001054/0.2248, allocations: 133.7 kB / 0.6928 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.2249, allocations: 15.81 kB / 0.6928 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.2252, allocations: 158.9 kB / 0.6929 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.2252, allocations: 7.938 kB / 0.6929 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2252, allocations: 0 / 0.6929 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2252, allocations: 0 / 0.6929 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.2255, allocations: 217.5 kB / 0.6932 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2255, allocations: 0 / 0.6932 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-05/0.2256, allocations: 27.92 kB / 0.6932 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2256, allocations: 4 kB / 0.6932 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2256, allocations: 4 kB / 0.6932 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.2256, allocations: 7.938 kB / 0.6932 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2256, allocations: 0 / 0.6932 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.2259, allocations: 222.2 kB / 0.6934 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.191e-05/0.226, allocations: 108.9 kB / 0.6935 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.226, allocations: 4 kB / 0.6935 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.2262, allocations: 19.86 kB / 0.6935 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.2262, allocations: 11.98 kB / 0.6935 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2263, allocations: 8 kB / 0.6936 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.229e-05/0.2263, allocations: 120 kB / 0.6937 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2263, allocations: 4 kB / 0.6937 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003968/0.2268, allocations: 83.92 kB / 0.6938 GB, free: 7.742 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003163/0.2271, allocations: 184.4 kB / 0.6939 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.2273, allocations: 119.7 kB / 0.694 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2273, allocations: 0 / 0.694 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.438e-05/0.2274, allocations: 43.92 kB / 0.6941 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.2278, allocations: 60.88 kB / 0.6941 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.2285, allocations: 364.3 kB / 0.6945 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.2288, allocations: 0.7168 MB / 0.6952 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.2289, allocations: 27.44 kB / 0.6952 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.2289, allocations: 0 / 0.6952 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.006528/0.2355, allocations: 3.446 MB / 0.6986 GB, free: 2.75 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)