Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_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.005373/0.005373, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001312/0.001312, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8432/0.8432, allocations: 135.6 MB / 426.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.94 kB / 0.5857 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1979, allocations: 81.03 MB / 0.6648 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002901/0.2008, allocations: 1.484 MB / 0.6663 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6854/0.8862, allocations: 132.1 MB / 0.7953 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.8864, allocations: 5.219 kB / 0.7953 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 6.039e-05/0.8865, allocations: 6.562 kB / 0.7953 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.8866, allocations: 12.42 kB / 0.7953 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.8873, allocations: 68.7 kB / 0.7953 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.8875, allocations: 61.66 kB / 0.7954 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8877, allocations: 12.41 kB / 0.7954 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.8878, allocations: 18.73 kB / 0.7954 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.8879, allocations: 32.22 kB / 0.7955 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.8879, allocations: 4.562 kB / 0.7955 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.888, allocations: 14.47 kB / 0.7955 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.8881, allocations: 9.266 kB / 0.7955 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.8881, allocations: 24.94 kB / 0.7955 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.8884, allocations: 65.72 kB / 0.7956 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8884, allocations: 0 / 0.7956 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8884, allocations: 0 / 0.7956 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.8884, allocations: 0 / 0.7956 GB, free: 12.63 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008369/0.8893, allocations: 380.1 kB / 0.7959 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.8893, allocations: 12.55 kB / 0.796 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.8894, allocations: 35.03 kB / 0.796 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.8895, allocations: 7.516 kB / 0.796 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.8897, allocations: 169.5 kB / 0.7962 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.8897, allocations: 6.469 kB / 0.7962 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.8897, allocations: 1.719 kB / 0.7962 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.8901, allocations: 77 kB / 0.7962 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.8902, allocations: 3.938 kB / 0.7962 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.8902, allocations: 3.938 kB / 0.7962 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.8902, allocations: 1.062 kB / 0.7962 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.8906, allocations: 66.23 kB / 0.7963 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.8912, allocations: 286.9 kB / 0.7966 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.8914, allocations: 58.62 kB / 0.7966 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.8916, allocations: 39.91 kB / 0.7967 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.8918, allocations: 91.02 kB / 0.7968 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.8919, allocations: 35.97 kB / 0.7968 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.8919, allocations: 0 / 0.7968 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005897/0.8925, allocations: 130 kB / 0.7969 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.8925, allocations: 52.41 kB / 0.797 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.8927, allocations: 125.7 kB / 0.7971 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.8927, allocations: 25.7 kB / 0.7971 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.8928, allocations: 89.48 kB / 0.7972 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.8928, allocations: 20.28 kB / 0.7972 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.8929, allocations: 11.97 kB / 0.7972 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.893, allocations: 324.9 kB / 0.7975 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.8932, allocations: 34.95 kB / 0.7976 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.8933, allocations: 32.25 kB / 0.7976 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.8936, allocations: 67.97 kB / 0.7977 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8936, allocations: 4.906 kB / 0.7977 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004364/0.8941, allocations: 101.7 kB / 0.7978 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.8941, allocations: 4.781 kB / 0.7978 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.8941, allocations: 2.484 kB / 0.7978 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.8941, allocations: 1.188 kB / 0.7978 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.8943, allocations: 14.62 kB / 0.7978 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8943, allocations: 3.938 kB / 0.7978 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.8944, allocations: 11.88 kB / 0.7978 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.8944, allocations: 5.156 kB / 0.7978 GB, free: 10.8 MB / 0.5919 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 9.672e-05/0.8945, allocations: 115.5 kB / 0.7979 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.8945, allocations: 8.234 kB / 0.7979 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.8949, allocations: 106.1 kB / 0.798 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8949, allocations: 2.484 kB / 0.798 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.8949, allocations: 5.594 kB / 0.798 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8949, allocations: 0 / 0.798 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.8951, allocations: 170.3 kB / 0.7982 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.8951, allocations: 2.844 kB / 0.7982 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.8952, allocations: 15.72 kB / 0.7982 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8952, allocations: 0 / 0.7982 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.8953, allocations: 1.188 kB / 0.7982 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8953, allocations: 3.938 kB / 0.7982 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.8953, allocations: 2.531 kB / 0.7982 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.8957, allocations: 202.6 kB / 0.7984 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.8957, allocations: 78.2 kB / 0.7985 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.8958, allocations: 6.938 kB / 0.7985 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.8959, allocations: 10.61 kB / 0.7985 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.8959, allocations: 6.156 kB / 0.7985 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.8959, allocations: 6.844 kB / 0.7985 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.896, allocations: 93.94 kB / 0.7986 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.896, allocations: 0 / 0.7986 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002417/0.8963, allocations: 16.62 kB / 0.7986 GB, free: 10.12 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 (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.000941/0.8972, allocations: 0.7444 MB / 0.7994 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.8976, allocations: 69.12 kB / 0.7994 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8976, allocations: 1.062 kB / 0.7994 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.8978, allocations: 40.78 kB / 0.7995 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.8982, allocations: 21.31 kB / 0.7995 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.9004, allocations: 1.424 MB / 0.8009 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.9008, allocations: 0.684 MB / 0.8015 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.232e-05/0.9008, allocations: 6.578 kB / 0.8016 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.9009, allocations: 18.95 kB / 0.8016 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of SimCode: time 1.132e-06/0.9009, allocations: 0 / 0.8016 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.9284, allocations: 2.059 MB / 0.8036 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.821, allocations: 17.56 kB / 0.8036 GB, free: 7.125 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)