Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001279/0.001279, allocations: 192.2 kB / 16.13 MB, free: 6.664 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.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9526/0.9526, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 64.5 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1486, allocations: 80.92 MB / 0.5838 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002198/0.1508, allocations: 1.335 MB / 0.5851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3642/0.515, allocations: 129.9 MB / 0.7119 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.5151, allocations: 0 / 0.7119 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.5151, allocations: 0.7969 kB / 0.7119 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.5152, allocations: 5.938 kB / 0.712 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.5155, allocations: 46.42 kB / 0.712 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.711e-05/0.5156, allocations: 29.02 kB / 0.712 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.108e-05/0.5156, allocations: 1.938 kB / 0.712 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.5156, allocations: 6.391 kB / 0.712 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.5157, allocations: 7.594 kB / 0.712 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.5157, allocations: 0 / 0.712 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.36e-05/0.5158, allocations: 21.62 kB / 0.7121 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.5158, allocations: 9.609 kB / 0.7121 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.5159, allocations: 9.844 kB / 0.7121 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.276e-05/0.516, allocations: 24.23 kB / 0.7121 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.516, allocations: 0 / 0.7121 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.61e-07/0.516, allocations: 0 / 0.7121 GB, free: 13.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.516, allocations: 1.125 kB / 0.7121 GB, free: 13.93 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003837/0.5164, allocations: 336.2 kB / 0.7124 GB, free: 13.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5164, allocations: 9.531 kB / 0.7124 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.5165, allocations: 40.59 kB / 0.7125 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.5165, allocations: 3.531 kB / 0.7125 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.5166, allocations: 163.1 kB / 0.7126 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-05/0.5167, allocations: 30 kB / 0.7127 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.5167, allocations: 1.531 kB / 0.7127 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.5169, allocations: 47.56 kB / 0.7127 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5169, allocations: 1.469 kB / 0.7127 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.5169, allocations: 0 / 0.7127 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.5169, allocations: 4.781 kB / 0.7127 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.289e-05/0.517, allocations: 18.38 kB / 0.7127 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.5172, allocations: 154.3 kB / 0.7129 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.5173, allocations: 30.92 kB / 0.7129 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.097e-05/0.5174, allocations: 15.16 kB / 0.7129 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.5175, allocations: 88.7 kB / 0.713 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5176, allocations: 44.7 kB / 0.713 GB, free: 12.87 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.803e-06/0.5176, allocations: 0 / 0.713 GB, free: 12.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000262/0.5179, allocations: 61.81 kB / 0.7131 GB, free: 12.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.5179, allocations: 52.97 kB / 0.7132 GB, free: 12.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.518, allocations: 98.91 kB / 0.7132 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.518, allocations: 25.7 kB / 0.7133 GB, free: 12.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.518, allocations: 82.33 kB / 0.7134 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.5181, allocations: 13.66 kB / 0.7134 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.5181, allocations: 18.16 kB / 0.7134 GB, free: 12.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.5182, allocations: 312 kB / 0.7137 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-05/0.5182, allocations: 6.078 kB / 0.7137 GB, free: 12.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.5183, allocations: 11.41 kB / 0.7137 GB, free: 12.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.764e-05/0.5184, allocations: 25.95 kB / 0.7137 GB, free: 12.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5184, allocations: 0 / 0.7137 GB, free: 12.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001301/0.5185, allocations: 54.28 kB / 0.7138 GB, free: 12.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5185, allocations: 11.31 kB / 0.7138 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.5186, allocations: 0 / 0.7138 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.5186, allocations: 2.141 kB / 0.7138 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.5186, allocations: 6.016 kB / 0.7138 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5187, allocations: 0 / 0.7138 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.5187, allocations: 2.312 kB / 0.7138 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.5187, allocations: 1.125 kB / 0.7138 GB, free: 12.14 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 6.611e-05/0.5188, allocations: 108.6 kB / 0.7139 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.5188, allocations: 8.969 kB / 0.7139 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.519, allocations: 66.47 kB / 0.714 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.519, allocations: 1.812 kB / 0.714 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.519, allocations: 0 / 0.714 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.519, allocations: 0.6094 kB / 0.714 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.643e-05/0.5191, allocations: 161.2 kB / 0.7141 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5191, allocations: 0.6875 kB / 0.7141 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.5192, allocations: 6.219 kB / 0.7141 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5192, allocations: 4.969 kB / 0.7141 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.5192, allocations: 4.75 kB / 0.7141 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5192, allocations: 1.188 kB / 0.7141 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5192, allocations: 1.062 kB / 0.7141 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.5193, allocations: 78.8 kB / 0.7142 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.5194, allocations: 87.78 kB / 0.7143 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.5194, allocations: 5.938 kB / 0.7143 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.191e-05/0.5195, allocations: 1.859 kB / 0.7143 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.5195, allocations: 6.875 kB / 0.7143 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.5195, allocations: 2.141 kB / 0.7143 GB, free: 11.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.5196, allocations: 77.27 kB / 0.7144 GB, free: 11.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5196, allocations: 0 / 0.7144 GB, free: 11.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001986/0.5198, allocations: 10.47 kB / 0.7144 GB, free: 11.5 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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.000469/0.5202, allocations: 0.6212 MB / 0.715 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.5204, allocations: 24.94 kB / 0.715 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5204, allocations: 0 / 0.715 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.5205, allocations: 10.47 kB / 0.715 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.5207, allocations: 9.141 kB / 0.7151 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.5211, allocations: 169.8 kB / 0.7152 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.5213, allocations: 0.6753 MB / 0.7159 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.578e-05/0.5214, allocations: 5.344 kB / 0.7159 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.5214, allocations: 9.547 kB / 0.7159 GB, free: 10.02 MB / 0.545 GB Notification: Performance of SimCode: time 1.473e-06/0.5214, allocations: 4 kB / 0.7159 GB, free: 10.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4465/0.9679, allocations: 1.202 MB / 0.7171 GB, free: 9.816 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.9682, allocations: 216.6 kB / 0.7173 GB, free: 9.559 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/3.848, allocations: 0 / 0.7173 GB, free: 9.559 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)