Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_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.007913/0.007913, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001891/0.001891, allocations: 198.5 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.428/1.428, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002501/0.002501, allocations: 293 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 100.1 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4779, allocations: 86.97 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002577/0.4805, allocations: 1.261 MB / 0.7671 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006806/0.4813, allocations: 302.9 kB / 0.7674 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.517e-05/0.4813, allocations: 0 / 0.7674 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.4813, allocations: 0 / 0.7674 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.4814, allocations: 7.938 kB / 0.7674 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.4817, allocations: 47.75 kB / 0.7675 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.4818, allocations: 19.92 kB / 0.7675 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.4818, allocations: 4 kB / 0.7675 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.4819, allocations: 11.92 kB / 0.7675 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.4819, allocations: 4 kB / 0.7675 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.482, allocations: 0 / 0.7675 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.4821, allocations: 59.95 kB / 0.7676 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.4821, allocations: 0 / 0.7676 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.4822, allocations: 15.94 kB / 0.7676 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.4823, allocations: 51.11 kB / 0.7676 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4823, allocations: 0 / 0.7676 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4823, allocations: 0 / 0.7676 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.4823, allocations: 0 / 0.7676 GB, free: 2.074 MB / 0.5294 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.0004293/0.4828, allocations: 341.2 kB / 0.768 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4828, allocations: 8.031 kB / 0.768 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.4828, allocations: 34.75 kB / 0.768 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.483, allocations: 20.91 kB / 0.768 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.4832, allocations: 168.4 kB / 0.7682 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.4832, allocations: 4.312 kB / 0.7682 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.4832, allocations: 384 / 0.7682 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.4833, allocations: 42.25 kB / 0.7682 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4834, allocations: 3.938 kB / 0.7682 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4834, allocations: 3.984 kB / 0.7682 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.4834, allocations: 0 / 0.7682 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.4835, allocations: 19.98 kB / 0.7683 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.4836, allocations: 165.7 kB / 0.7684 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.4855, allocations: 266.3 kB / 0.7687 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.4855, allocations: 20.86 kB / 0.7687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.4855, allocations: 4 kB / 0.7687 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4856, allocations: 34.56 kB / 0.7687 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.4856, allocations: 0 / 0.7687 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001896/0.4858, allocations: 61.62 kB / 0.7688 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.4858, allocations: 51.41 kB / 0.7688 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.4859, allocations: 97.84 kB / 0.7689 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.4859, allocations: 29.83 kB / 0.769 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.486, allocations: 88.08 kB / 0.769 GB, free: 440 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.486, allocations: 11.84 kB / 0.7691 GB, free: 428 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.4861, allocations: 17.72 kB / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4862, allocations: 310.8 kB / 0.7694 GB, free: 84 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.4863, allocations: 11.98 kB / 0.7694 GB, free: 72 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.073e-05/0.4863, allocations: 12 kB / 0.7694 GB, free: 60 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.4863, allocations: 20.86 kB / 0.7694 GB, free: 36 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4864, allocations: 0 / 0.7694 GB, free: 36 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001054/0.4865, allocations: 57.69 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4865, allocations: 7.938 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4865, allocations: 4 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4865, allocations: 3.938 kB / 0.7695 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.4866, allocations: 11.92 kB / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4866, allocations: 0 / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.4866, allocations: 3.953 kB / 0.7695 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.4867, allocations: 4 kB / 0.7695 GB, free: 15.94 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 (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 7.579e-05/0.4867, allocations: 105.8 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.4868, allocations: 11.94 kB / 0.7696 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.4868, allocations: 7.5 kB / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4868, allocations: 0 / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4868, allocations: 0 / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4868, allocations: 0 / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.4869, allocations: 161.7 kB / 0.7698 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.487, allocations: 0 / 0.7698 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.487, allocations: 8 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.487, allocations: 8.25 kB / 0.7698 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.487, allocations: 0 / 0.7698 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.487, allocations: 0 / 0.7698 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.487, allocations: 4 kB / 0.7698 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.4872, allocations: 81.05 kB / 0.7699 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.4872, allocations: 85.05 kB / 0.7699 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4873, allocations: 7.938 kB / 0.77 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.4873, allocations: 0 / 0.77 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.4873, allocations: 7.984 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4874, allocations: 4 kB / 0.77 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.4874, allocations: 79.28 kB / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4874, allocations: 0 / 0.77 GB, free: 15.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001857/0.4876, allocations: 8 kB / 0.7701 GB, free: 15.27 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 (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.0004892/0.4881, allocations: 0.6162 MB / 0.7707 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.4882, allocations: 28.08 kB / 0.7707 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4882, allocations: 4 kB / 0.7707 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.4882, allocations: 19.92 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.4885, allocations: 10.34 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.4889, allocations: 151.4 kB / 0.7709 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4893, allocations: 0.6806 MB / 0.7715 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.4894, allocations: 4 kB / 0.7715 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.4894, allocations: 7.438 kB / 0.7715 GB, free: 13.66 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4894, allocations: 4 kB / 0.7715 GB, free: 13.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.5127, allocations: 1.329 MB / 0.7728 GB, free: 12.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.31, allocations: 8.625 kB / 0.7728 GB, free: 12.46 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)