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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 109.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002213/0.002213, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.126/1.126, allocations: 175.8 MB / 478.5 MB, free: 8.457 MB / 382.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 68.2 kB / 0.6652 GB, free: 0.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2063, allocations: 94.55 MB / 0.7576 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.3619/0.5682, allocations: 13.01 MB / 0.7703 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.5705, allocations: 2.674 MB / 0.7729 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.035e-05/0.5706, allocations: 1.219 kB / 0.7729 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.5709, allocations: 46.34 kB / 0.7729 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.5711, allocations: 98.03 kB / 0.773 GB, free: 316 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.5724, allocations: 0.5154 MB / 0.7735 GB, free: 36 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.5727, allocations: 232.6 kB / 0.7738 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.5728, allocations: 8.641 kB / 0.7738 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/0.5834, allocations: 3.591 MB / 0.7773 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.5836, allocations: 90.27 kB / 0.7774 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.5837, allocations: 13.16 kB / 0.7774 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.5868, allocations: 1.081 MB / 0.7784 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.5869, allocations: 44.84 kB / 0.7785 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.5871, allocations: 75.78 kB / 0.7785 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.5881, allocations: 371.7 kB / 0.7789 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5881, allocations: 0 / 0.7789 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5881, allocations: 1.219 kB / 0.7789 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5881, allocations: 3.047 kB / 0.7789 GB, free: 13.87 MB / 0.5919 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.0008012/0.5889, allocations: 0.5052 MB / 0.7794 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.589, allocations: 13.09 kB / 0.7794 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.589, allocations: 53.38 kB / 0.7795 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.5892, allocations: 30.41 kB / 0.7795 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.5895, allocations: 212.6 kB / 0.7797 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.5895, allocations: 9.172 kB / 0.7797 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.5896, allocations: 13.94 kB / 0.7797 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.5899, allocations: 261.5 kB / 0.78 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.59, allocations: 0 / 0.78 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.59, allocations: 5.688 kB / 0.78 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.59, allocations: 7.344 kB / 0.78 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.5905, allocations: 424.5 kB / 0.7804 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.592, allocations: 0.9717 MB / 0.7813 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.5924, allocations: 157.9 kB / 0.7815 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.5925, allocations: 54.52 kB / 0.7815 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001934/0.5944, allocations: 1.833 MB / 0.7833 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.5945, allocations: 38.16 kB / 0.7834 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.5945, allocations: 0 / 0.7834 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003895/0.5949, allocations: 156.7 kB / 0.7835 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.5949, allocations: 53.84 kB / 0.7836 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.5952, allocations: 175.7 kB / 0.7837 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.5952, allocations: 36.08 kB / 0.7838 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.5953, allocations: 138.1 kB / 0.7839 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.5954, allocations: 57.34 kB / 0.784 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-05/0.5954, allocations: 52.09 kB / 0.784 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.5957, allocations: 327.2 kB / 0.7843 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.618e-05/0.5958, allocations: 29.59 kB / 0.7843 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.5959, allocations: 146.1 kB / 0.7845 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.5962, allocations: 198.6 kB / 0.7847 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5962, allocations: 1.25 kB / 0.7847 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003578/0.5966, allocations: 217.8 kB / 0.7849 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5966, allocations: 5.953 kB / 0.7849 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5966, allocations: 5.562 kB / 0.7849 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.5966, allocations: 10.09 kB / 0.7849 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.5968, allocations: 56.31 kB / 0.785 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.5968, allocations: 5.922 kB / 0.785 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.597, allocations: 31.19 kB / 0.785 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.597, allocations: 15.41 kB / 0.785 GB, free: 8.566 MB / 0.5919 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.000154/0.5971, allocations: 134.8 kB / 0.7851 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.5972, allocations: 20.81 kB / 0.7852 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003534/0.5975, allocations: 154.6 kB / 0.7853 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.5976, allocations: 7.172 kB / 0.7853 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5976, allocations: 2.938 kB / 0.7853 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5976, allocations: 0.6562 kB / 0.7853 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.5979, allocations: 214.2 kB / 0.7855 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5979, allocations: 10.08 kB / 0.7855 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.598, allocations: 21.47 kB / 0.7855 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.598, allocations: 0.625 kB / 0.7855 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.598, allocations: 7.906 kB / 0.7856 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.598, allocations: 3.938 kB / 0.7856 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.598, allocations: 0.75 kB / 0.7856 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.5983, allocations: 226 kB / 0.7858 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5984, allocations: 108.2 kB / 0.7859 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.5984, allocations: 2.438 kB / 0.7859 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.5986, allocations: 24.53 kB / 0.7859 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.5987, allocations: 10.19 kB / 0.7859 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.5987, allocations: 17.73 kB / 0.7859 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001302/0.5988, allocations: 121.4 kB / 0.786 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5988, allocations: 0 / 0.786 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004527/0.5993, allocations: 74.73 kB / 0.7861 GB, free: 7.707 MB / 0.5919 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.0009591/0.6002, allocations: 0.833 MB / 0.7869 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.6005, allocations: 116.9 kB / 0.787 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.6005, allocations: 0 / 0.787 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.6006, allocations: 49.28 kB / 0.7871 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.6011, allocations: 54.98 kB / 0.7871 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.6041, allocations: 2.045 MB / 0.7891 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.6045, allocations: 0.7113 MB / 0.7898 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002378/0.6047, allocations: 54.31 kB / 0.7899 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.6048, allocations: 46.39 kB / 0.7899 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/0.6048, allocations: 0 / 0.7899 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0345/0.6393, allocations: 5.508 MB / 0.7953 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.684/9.324, allocations: 8.297 kB / 0.7953 GB, free: 3.715 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.357901728712022] Failed to read output from testmodel.py, exit status != 0: 9.393055864609778 9.409014953 8.817288915 Calling exit ...