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.006645/0.006645, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001703/0.001703, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7782/0.7782, allocations: 135.6 MB / 426.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 68.61 kB / 0.5857 GB, free: 21.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1294, allocations: 81.02 MB / 0.6649 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002043/0.1315, allocations: 1.265 MB / 0.6661 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3912/0.5227, allocations: 132 MB / 0.795 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.5228, allocations: 4 kB / 0.795 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.5229, allocations: 0 / 0.795 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.5229, allocations: 6.812 kB / 0.795 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.5233, allocations: 64.81 kB / 0.7951 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.815e-05/0.5233, allocations: 21.55 kB / 0.7951 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.005e-05/0.5234, allocations: 1.062 kB / 0.7951 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.5234, allocations: 12.56 kB / 0.7951 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.5235, allocations: 7.172 kB / 0.7951 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.5235, allocations: 5.719 kB / 0.7951 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.5236, allocations: 18.11 kB / 0.7952 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.5236, allocations: 5.219 kB / 0.7952 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.5236, allocations: 8.672 kB / 0.7952 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 9.034e-05/0.5237, allocations: 27.91 kB / 0.7952 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5237, allocations: 3.688 kB / 0.7952 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5237, allocations: 0 / 0.7952 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5237, allocations: 1.031 kB / 0.7952 GB, free: 12.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004001/0.5241, allocations: 336.6 kB / 0.7955 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.5242, allocations: 10.61 kB / 0.7955 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.5242, allocations: 31.94 kB / 0.7956 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.5242, allocations: 6 kB / 0.7956 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.5244, allocations: 167.3 kB / 0.7957 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.5244, allocations: 33.39 kB / 0.7958 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.5244, allocations: 1.625 kB / 0.7958 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.5246, allocations: 44.39 kB / 0.7958 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.5246, allocations: 0 / 0.7958 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.5246, allocations: 0 / 0.7958 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.5246, allocations: 1.469 kB / 0.7958 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.5247, allocations: 20.19 kB / 0.7958 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.5248, allocations: 151 kB / 0.796 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.5249, allocations: 29.66 kB / 0.796 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.525, allocations: 20.44 kB / 0.796 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.5252, allocations: 89.14 kB / 0.7961 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.5252, allocations: 39.69 kB / 0.7961 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5252, allocations: 3.938 kB / 0.7961 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002036/0.5254, allocations: 61.17 kB / 0.7962 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.5255, allocations: 52.53 kB / 0.7963 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.5255, allocations: 95.39 kB / 0.7963 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.5256, allocations: 25.7 kB / 0.7964 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.5256, allocations: 80.14 kB / 0.7964 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.5256, allocations: 12.25 kB / 0.7965 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.5257, allocations: 19.91 kB / 0.7965 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5258, allocations: 315.3 kB / 0.7968 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.5258, allocations: 7.047 kB / 0.7968 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.5259, allocations: 6.297 kB / 0.7968 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.5259, allocations: 24.81 kB / 0.7968 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.526, allocations: 1.156 kB / 0.7968 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001209/0.5261, allocations: 57.03 kB / 0.7969 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5261, allocations: 9.438 kB / 0.7969 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.5261, allocations: 0 / 0.7969 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.5261, allocations: 1 kB / 0.7969 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.5262, allocations: 5.438 kB / 0.7969 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5262, allocations: 2.469 kB / 0.7969 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.5262, allocations: 4.969 kB / 0.7969 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.5262, allocations: 1.109 kB / 0.7969 GB, free: 10.85 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 7.295e-05/0.5263, allocations: 110.5 kB / 0.797 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.5263, allocations: 16.94 kB / 0.797 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.5265, allocations: 61.56 kB / 0.7971 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.5265, allocations: 0 / 0.7971 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5265, allocations: 0 / 0.7971 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5265, allocations: 1.344 kB / 0.7971 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.5266, allocations: 155.7 kB / 0.7972 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5266, allocations: 1.312 kB / 0.7972 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.5267, allocations: 4.375 kB / 0.7972 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.5267, allocations: 5 kB / 0.7972 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.5267, allocations: 4 kB / 0.7972 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.5267, allocations: 1.188 kB / 0.7972 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5267, allocations: 8.594 kB / 0.7972 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.5269, allocations: 75.19 kB / 0.7973 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.5269, allocations: 85.59 kB / 0.7974 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.5269, allocations: 0.875 kB / 0.7974 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.63e-05/0.527, allocations: 4.047 kB / 0.7974 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.527, allocations: 8.469 kB / 0.7974 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.527, allocations: 1.125 kB / 0.7974 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.5271, allocations: 80.11 kB / 0.7975 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5271, allocations: 0 / 0.7975 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001717/0.5272, allocations: 9.844 kB / 0.7975 GB, free: 10.23 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.000451/0.5277, allocations: 0.6316 MB / 0.7981 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.5278, allocations: 18.39 kB / 0.7981 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.5278, allocations: 0 / 0.7981 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.5279, allocations: 13.39 kB / 0.7981 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.5281, allocations: 12.89 kB / 0.7982 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.5284, allocations: 164.5 kB / 0.7983 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.5287, allocations: 0.6745 MB / 0.799 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.882e-05/0.5288, allocations: 1.062 kB / 0.799 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.5288, allocations: 10.62 kB / 0.799 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.5288, allocations: 0 / 0.799 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.002/2.531, allocations: 1.364 MB / 0.8003 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/12.67, allocations: 5.062 kB / 0.8003 GB, free: 8.395 MB / 0.5919 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)