Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_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.001016/0.001016, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001194/0.001194, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.614/2.614, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 11.94 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7847, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001311/0.7861, allocations: 0.9801 MB / 0.9821 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000521/0.7866, allocations: 277.7 kB / 0.9824 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.7867, allocations: 0 / 0.9824 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.7867, allocations: 0 / 0.9824 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.7867, allocations: 3.938 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.787, allocations: 43.81 kB / 0.9824 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.276e-05/0.787, allocations: 15.94 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.7871, allocations: 7.984 kB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.7871, allocations: 7.938 kB / 0.9824 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.179e-05/0.7872, allocations: 4 kB / 0.9824 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.7872, allocations: 3.984 kB / 0.9824 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.7873, allocations: 47.95 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.7874, allocations: 11.98 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.7874, allocations: 25.7 kB / 0.9825 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.7875, allocations: 34.17 kB / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7875, allocations: 3.938 kB / 0.9826 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7875, allocations: 4 kB / 0.9826 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7875, allocations: 0 / 0.9826 GB, free: 4.793 MB / 0.7325 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.0004411/0.788, allocations: 339.3 kB / 0.9829 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.788, allocations: 8.031 kB / 0.9829 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.7881, allocations: 30.56 kB / 0.9829 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.7883, allocations: 19.97 kB / 0.9829 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.7885, allocations: 159.1 kB / 0.9831 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.7885, allocations: 4 kB / 0.9831 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.7885, allocations: 11.95 kB / 0.9831 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.7886, allocations: 41.69 kB / 0.9832 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7886, allocations: 0 / 0.9832 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.7887, allocations: 3.938 kB / 0.9832 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7887, allocations: 0 / 0.9832 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.7887, allocations: 19.92 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.7889, allocations: 153.7 kB / 0.9833 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.7906, allocations: 274.5 kB / 0.9836 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.7906, allocations: 16.86 kB / 0.9836 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.7906, allocations: 0 / 0.9836 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.7907, allocations: 46.5 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.7907, allocations: 0 / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001816/0.7909, allocations: 65.61 kB / 0.9837 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.7909, allocations: 51.41 kB / 0.9838 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.791, allocations: 97.86 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.791, allocations: 25.7 kB / 0.9839 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.7911, allocations: 80.14 kB / 0.9839 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.7911, allocations: 19.86 kB / 0.984 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.7911, allocations: 4 kB / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7913, allocations: 318.8 kB / 0.9843 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.7913, allocations: 4 kB / 0.9843 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.7913, allocations: 11.94 kB / 0.9843 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.7914, allocations: 8 kB / 0.9843 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7914, allocations: 0 / 0.9843 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.369e-05/0.7915, allocations: 57.62 kB / 0.9844 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.7915, allocations: 7.953 kB / 0.9844 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7915, allocations: 4 kB / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7915, allocations: 4 kB / 0.9844 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.7916, allocations: 4 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7916, allocations: 3.984 kB / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.7916, allocations: 0 / 0.9844 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.7916, allocations: 8 kB / 0.9844 GB, free: 2.699 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.109e-05/0.7917, allocations: 109.8 kB / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.7917, allocations: 0 / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.7918, allocations: 15.45 kB / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.7918, allocations: 0 / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7918, allocations: 4 kB / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.7918, allocations: 0 / 0.9845 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.7919, allocations: 157.6 kB / 0.9847 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7919, allocations: 0 / 0.9847 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.792, allocations: 8 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.792, allocations: 0 / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.792, allocations: 3.984 kB / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.792, allocations: 7.891 kB / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.792, allocations: 0 / 0.9847 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.7922, allocations: 85.06 kB / 0.9848 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.7922, allocations: 81.11 kB / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.7922, allocations: 0 / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.7923, allocations: 0 / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.7923, allocations: 7.938 kB / 0.9848 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.7923, allocations: 4 kB / 0.9848 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.7924, allocations: 75.28 kB / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7924, allocations: 0 / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001861/0.7926, allocations: 16.09 kB / 0.9849 GB, free: 2.039 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004075/0.793, allocations: 0.6085 MB / 0.9855 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.7931, allocations: 28.34 kB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7931, allocations: 0 / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.7931, allocations: 15.94 kB / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.7934, allocations: 21.5 kB / 0.9856 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.7938, allocations: 159.6 kB / 0.9857 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.7941, allocations: 0.677 MB / 0.9864 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.127e-05/0.7942, allocations: 7.984 kB / 0.9864 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.7942, allocations: 11.44 kB / 0.9864 GB, free: 428 kB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.7942, allocations: 0 / 0.9864 GB, free: 428 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.8079, allocations: 1.092 MB / 0.9875 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.8082, allocations: 202.8 kB / 0.9877 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.577, allocations: 1.828 kB / 0.9877 GB, free: 15.23 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat does not exist to compare? outputFormat=mat