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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8193/0.8193, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 176.9 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 87.86 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 280.5 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.088e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4622, allocations: 82.77 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.6072, allocations: 108.2 MB / 0.8631 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.6075, allocations: 79.94 kB / 0.8632 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004241/0.6118, allocations: 1.51 MB / 0.8647 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6118, allocations: 0 / 0.8647 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6118, allocations: 0 / 0.8647 GB, free: 2.047 MB / 0.5261 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.0003443/0.6122, allocations: 334.5 kB / 0.865 GB, free: 1.676 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.6122, allocations: 12.03 kB / 0.865 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.6124, allocations: 19.97 kB / 0.865 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.6126, allocations: 163 kB / 0.8652 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.6126, allocations: 3.953 kB / 0.8652 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.6126, allocations: 4 kB / 0.8652 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.343e-05/0.6127, allocations: 12 kB / 0.8652 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.152e-05/0.6128, allocations: 41.69 kB / 0.8653 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6128, allocations: 0 / 0.8653 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.6128, allocations: 0 / 0.8653 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6129, allocations: 4 kB / 0.8653 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.613, allocations: 134.2 kB / 0.8654 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.6148, allocations: 270.4 kB / 0.8657 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.6148, allocations: 20.86 kB / 0.8657 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.6148, allocations: 7.953 kB / 0.8657 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.6149, allocations: 30.56 kB / 0.8657 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.6149, allocations: 0 / 0.8657 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.000141/0.615, allocations: 49.69 kB / 0.8658 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6151, allocations: 51.41 kB / 0.8658 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.202e-05/0.6151, allocations: 93 kB / 0.8659 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.6152, allocations: 25.7 kB / 0.8659 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.6152, allocations: 88.08 kB / 0.866 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.6152, allocations: 7.844 kB / 0.866 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.6152, allocations: 0 / 0.866 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6153, allocations: 318.8 kB / 0.8663 GB, free: 204 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.6154, allocations: 8 kB / 0.8663 GB, free: 196 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.6154, allocations: 11.94 kB / 0.8663 GB, free: 184 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.978e-05/0.6154, allocations: 8.125 kB / 0.8663 GB, free: 176 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6154, allocations: 0 / 0.8663 GB, free: 176 kB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.783e-05/0.6155, allocations: 53.69 kB / 0.8664 GB, free: 116 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.6155, allocations: 4 kB / 0.8664 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6155, allocations: 3.953 kB / 0.8664 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6155, allocations: 0 / 0.8664 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.306e-05/0.6156, allocations: 4 kB / 0.8664 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.6156, allocations: 4 kB / 0.8664 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.6157, allocations: 3.906 kB / 0.8664 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.6157, allocations: 0 / 0.8664 GB, free: 96 kB / 0.5261 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 () * 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.351e-05/0.6158, allocations: 105 kB / 0.8665 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.583e-05/0.6158, allocations: 57.56 kB / 0.8666 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.6158, allocations: 4.188 kB / 0.8666 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.6159, allocations: 12.11 kB / 0.8666 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6159, allocations: 7.984 kB / 0.8666 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6159, allocations: 0 / 0.8666 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6159, allocations: 0 / 0.8666 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.628e-05/0.616, allocations: 130.2 kB / 0.8667 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.616, allocations: 4 kB / 0.8667 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.6161, allocations: 7.984 kB / 0.8667 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6161, allocations: 4 kB / 0.8667 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.6161, allocations: 7.953 kB / 0.8667 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6161, allocations: 0 / 0.8667 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6161, allocations: 0 / 0.8667 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.56e-05/0.6162, allocations: 77.06 kB / 0.8668 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.6163, allocations: 81.02 kB / 0.8669 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.6163, allocations: 3.984 kB / 0.8669 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.062e-05/0.6164, allocations: 7.953 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.6164, allocations: 7.938 kB / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.6164, allocations: 0 / 0.8669 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.6164, allocations: 75.28 kB / 0.867 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6164, allocations: 0 / 0.867 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001668/0.6166, allocations: 8 kB / 0.867 GB, free: 15.41 MB / 0.5417 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 () * 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.0003634/0.617, allocations: 0.6107 MB / 0.8676 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.6171, allocations: 27.92 kB / 0.8676 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6171, allocations: 0 / 0.8676 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.6171, allocations: 12 kB / 0.8676 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.6173, allocations: 7.953 kB / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.6177, allocations: 107 kB / 0.8677 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.618, allocations: 0.6768 MB / 0.8684 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.071e-05/0.618, allocations: 0 / 0.8684 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.6181, allocations: 11.44 kB / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of SimCode: time 3.91e-07/0.6181, allocations: 4 kB / 0.8684 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.6374, allocations: 0.8024 MB / 0.8692 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/0.6377, allocations: 162.9 kB / 0.8693 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/2.125, allocations: 3.938 kB / 0.8693 GB, free: 12.88 MB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)