Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) 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.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_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005688/0.005688, allocations: 102.8 kB / 15.73 MB, free: 6.484 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.00136/0.00136, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7482/0.7482, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 60.05 kB / 0.5809 GB, free: 8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3772, allocations: 80.22 MB / 0.6593 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01293/0.3902, allocations: 12.97 MB / 0.6719 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.3931, allocations: 2.67 MB / 0.6745 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.3933, allocations: 0 / 0.6745 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.3936, allocations: 48.42 kB / 0.6746 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.394, allocations: 95.95 kB / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.3955, allocations: 0.5178 MB / 0.6752 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.3957, allocations: 232.2 kB / 0.6754 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.3958, allocations: 9.656 kB / 0.6754 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008676/0.4045, allocations: 3.59 MB / 0.6789 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.4047, allocations: 94.12 kB / 0.679 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.4047, allocations: 7.375 kB / 0.679 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.4072, allocations: 1.078 MB / 0.6801 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.4073, allocations: 34.23 kB / 0.6801 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.4074, allocations: 85.06 kB / 0.6802 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006439/0.408, allocations: 371.9 kB / 0.6805 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.408, allocations: 0 / 0.6805 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.408, allocations: 4 kB / 0.6805 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4081, allocations: 0 / 0.6805 GB, free: 10.06 MB / 0.5137 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.00067/0.4087, allocations: 0.4982 MB / 0.681 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4088, allocations: 10.19 kB / 0.681 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.509e-05/0.4088, allocations: 48.39 kB / 0.6811 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.409, allocations: 21.94 kB / 0.6811 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.4093, allocations: 222.3 kB / 0.6813 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.4093, allocations: 10.36 kB / 0.6813 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.4093, allocations: 23.92 kB / 0.6813 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.4097, allocations: 249.6 kB / 0.6816 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4097, allocations: 0 / 0.6816 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.4097, allocations: 11.31 kB / 0.6816 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.4097, allocations: 5.75 kB / 0.6816 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.4102, allocations: 425 kB / 0.682 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.4112, allocations: 0.9649 MB / 0.6829 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.4115, allocations: 166.6 kB / 0.6831 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.362e-05/0.4116, allocations: 62.5 kB / 0.6832 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.4128, allocations: 1.835 MB / 0.685 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.4128, allocations: 33.44 kB / 0.685 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.4128, allocations: 0 / 0.685 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003142/0.4131, allocations: 150.5 kB / 0.6851 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.4132, allocations: 57.64 kB / 0.6852 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.4133, allocations: 167.5 kB / 0.6853 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.4133, allocations: 28.14 kB / 0.6854 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.4134, allocations: 142.6 kB / 0.6855 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.4135, allocations: 58.34 kB / 0.6856 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.4135, allocations: 53.48 kB / 0.6856 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.4136, allocations: 322.2 kB / 0.6859 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.4137, allocations: 40.69 kB / 0.686 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4138, allocations: 139.5 kB / 0.6861 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.414, allocations: 194.3 kB / 0.6863 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4141, allocations: 5.094 kB / 0.6863 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003068/0.4144, allocations: 215.1 kB / 0.6865 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4144, allocations: 9.344 kB / 0.6865 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4144, allocations: 3.781 kB / 0.6865 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4144, allocations: 17.38 kB / 0.6865 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.4146, allocations: 56.52 kB / 0.6866 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4146, allocations: 5.094 kB / 0.6866 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4147, allocations: 28.45 kB / 0.6866 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.4147, allocations: 15.06 kB / 0.6866 GB, free: 4.301 MB / 0.5137 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 9.135e-05/0.4148, allocations: 129.6 kB / 0.6867 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.4149, allocations: 17.44 kB / 0.6868 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.4152, allocations: 155.6 kB / 0.6869 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4152, allocations: 10.28 kB / 0.6869 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4152, allocations: 5.078 kB / 0.6869 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4152, allocations: 3.984 kB / 0.6869 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.4154, allocations: 213.8 kB / 0.6871 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4155, allocations: 0 / 0.6871 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.619e-05/0.4155, allocations: 26.92 kB / 0.6872 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4156, allocations: 1.188 kB / 0.6872 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4156, allocations: 2.188 kB / 0.6872 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4156, allocations: 5.156 kB / 0.6872 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4156, allocations: 0 / 0.6872 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.4158, allocations: 227.7 kB / 0.6874 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.4159, allocations: 114.2 kB / 0.6875 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.4159, allocations: 1.031 kB / 0.6875 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.4161, allocations: 19.05 kB / 0.6875 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.4161, allocations: 5.469 kB / 0.6875 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.4162, allocations: 18.55 kB / 0.6875 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.171e-05/0.4163, allocations: 118.2 kB / 0.6876 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4163, allocations: 0 / 0.6876 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003807/0.4166, allocations: 82.48 kB / 0.6877 GB, free: 3.379 MB / 0.5137 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.0006274/0.4173, allocations: 0.8327 MB / 0.6885 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.4175, allocations: 120.6 kB / 0.6886 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4175, allocations: 0 / 0.6886 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.4176, allocations: 45.73 kB / 0.6887 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.418, allocations: 55.27 kB / 0.6887 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.4199, allocations: 2.042 MB / 0.6907 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.4202, allocations: 0.7079 MB / 0.6914 GB, free: 52 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.4203, allocations: 58.56 kB / 0.6915 GB, free: 20 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.4204, allocations: 46.36 kB / 0.6915 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.4204, allocations: 0 / 0.6915 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.4415, allocations: 5.47 MB / 0.6969 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.403/7.845, allocations: 21.69 kB / 0.6969 GB, free: 13.23 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)