Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",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.006849/0.006849, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.001328/0.001328, allocations: 197 kB / 16.68 MB, free: 5.961 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.407/1.407, 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-master/package.mo): time 1.007/1.007, allocations: 135.6 MB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4726, allocations: 81.03 MB / 0.6649 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002116/0.4747, allocations: 1.25 MB / 0.6661 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005346/0.4753, allocations: 291.6 kB / 0.6664 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.4753, allocations: 1.312 kB / 0.6664 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.4754, allocations: 0 / 0.6664 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.4754, allocations: 7.875 kB / 0.6664 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.4757, allocations: 53.3 kB / 0.6664 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.4758, allocations: 16.27 kB / 0.6664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.4758, allocations: 10.53 kB / 0.6665 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.4759, allocations: 8.094 kB / 0.6665 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.4759, allocations: 10.69 kB / 0.6665 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.476, allocations: 5.125 kB / 0.6665 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.4761, allocations: 61.12 kB / 0.6665 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.4761, allocations: 5.484 kB / 0.6665 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.4761, allocations: 2.781 kB / 0.6665 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.4763, allocations: 52.16 kB / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4763, allocations: 0 / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4763, allocations: 1.375 kB / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4763, allocations: 0 / 0.6666 GB, free: 5.492 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003002/0.4766, allocations: 335.6 kB / 0.6669 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4766, allocations: 13.78 kB / 0.6669 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.4767, allocations: 32 kB / 0.667 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.4769, allocations: 23.67 kB / 0.667 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.996e-05/0.477, allocations: 161.6 kB / 0.6671 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.477, allocations: 384 / 0.6671 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.477, allocations: 1.719 kB / 0.6671 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.4771, allocations: 42.16 kB / 0.6672 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.4771, allocations: 3.938 kB / 0.6672 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4771, allocations: 12 kB / 0.6672 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.4771, allocations: 5.219 kB / 0.6672 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.4772, allocations: 16.14 kB / 0.6672 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.4773, allocations: 154.7 kB / 0.6674 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.479, allocations: 270 kB / 0.6676 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.4791, allocations: 17.08 kB / 0.6676 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.4791, allocations: 3.984 kB / 0.6676 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4791, allocations: 36.16 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4791, allocations: 0 / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001595/0.4793, allocations: 68.97 kB / 0.6677 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.4793, allocations: 56.88 kB / 0.6678 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.986e-05/0.4794, allocations: 91.2 kB / 0.6679 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.4794, allocations: 25.7 kB / 0.6679 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.081e-05/0.4794, allocations: 80.14 kB / 0.668 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.4794, allocations: 17.53 kB / 0.668 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.4795, allocations: 21.2 kB / 0.668 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.4795, allocations: 311.8 kB / 0.6683 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.4796, allocations: 5.094 kB / 0.6683 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.4796, allocations: 16.45 kB / 0.6683 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.422e-05/0.4796, allocations: 32.97 kB / 0.6684 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4796, allocations: 0 / 0.6684 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.919e-05/0.4797, allocations: 52.62 kB / 0.6684 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4797, allocations: 12.94 kB / 0.6684 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4797, allocations: 0 / 0.6684 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4798, allocations: 1.438 kB / 0.6684 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.4798, allocations: 5.594 kB / 0.6684 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4798, allocations: 3.984 kB / 0.6684 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.4799, allocations: 5.031 kB / 0.6684 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.4799, allocations: 5.438 kB / 0.6685 GB, free: 3.676 MB / 0.4981 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 (4): * Single equations (assignments): 4 * 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 4.396e-05/0.4799, allocations: 107.2 kB / 0.6686 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.4799, allocations: 9.047 kB / 0.6686 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.48, allocations: 11.48 kB / 0.6686 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.48, allocations: 5.312 kB / 0.6686 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.48, allocations: 0 / 0.6686 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.48, allocations: 1.25 kB / 0.6686 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.372e-05/0.4801, allocations: 153.5 kB / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4801, allocations: 1.438 kB / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.4801, allocations: 8.969 kB / 0.6687 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4801, allocations: 3.938 kB / 0.6687 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.4801, allocations: 1.125 kB / 0.6687 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4801, allocations: 0 / 0.6687 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4801, allocations: 5.156 kB / 0.6687 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.249e-05/0.4802, allocations: 77.75 kB / 0.6688 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.4803, allocations: 82.5 kB / 0.6689 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.4803, allocations: 5.062 kB / 0.6689 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.4804, allocations: 9.438 kB / 0.6689 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.4804, allocations: 1.312 kB / 0.6689 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4804, allocations: 5.156 kB / 0.6689 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.416e-05/0.4804, allocations: 79.22 kB / 0.669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4804, allocations: 1.469 kB / 0.669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001761/0.4806, allocations: 5.062 kB / 0.669 GB, free: 3.055 MB / 0.4981 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 (4): * Single equations (assignments): 4 * 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.0002308/0.4808, allocations: 0.6178 MB / 0.6696 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.551e-05/0.4809, allocations: 30.55 kB / 0.6696 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4809, allocations: 0 / 0.6696 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.001e-05/0.481, allocations: 9.906 kB / 0.6696 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.4812, allocations: 11.7 kB / 0.6697 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.4816, allocations: 157.5 kB / 0.6698 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.453e-05/0.4817, allocations: 0.6767 MB / 0.6705 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.4817, allocations: 9.5 kB / 0.6705 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.4818, allocations: 8.688 kB / 0.6705 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.4818, allocations: 1.219 kB / 0.6705 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.5019, allocations: 1.314 MB / 0.6718 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.436, allocations: 12.92 kB / 0.6718 GB, free: 0.7812 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)