Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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.782/0.782, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001131/0.001131, allocations: 180.8 kB / 182.2 MB, free: 9.445 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.447/1.447, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009457/0.0009457, allocations: 97.47 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001772/0.001772, allocations: 275.9 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2.02e-05, allocations: 7.938 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4182, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.5717, allocations: 110.8 MB / 0.8657 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.572, allocations: 79.95 kB / 0.8658 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.586, allocations: 5.512 MB / 0.8712 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.393e-06/0.586, allocations: 0 / 0.8712 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5861, allocations: 0 / 0.8712 GB, free: 11.28 MB / 0.5417 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.0004693/0.5865, allocations: 454 kB / 0.8716 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5866, allocations: 8.031 kB / 0.8716 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.5866, allocations: 19.72 kB / 0.8716 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.5868, allocations: 214.6 kB / 0.8718 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.5868, allocations: 0 / 0.8718 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.5869, allocations: 0 / 0.8718 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001217/0.587, allocations: 39.97 kB / 0.8719 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.5871, allocations: 57.61 kB / 0.8719 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.5871, allocations: 4 kB / 0.8719 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5871, allocations: 4 kB / 0.8719 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5871, allocations: 3.984 kB / 0.8719 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.5876, allocations: 317.3 kB / 0.8722 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.841e-05/0.5877, allocations: 62.55 kB / 0.8723 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.5878, allocations: 24.91 kB / 0.8723 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.5878, allocations: 11.98 kB / 0.8723 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.5879, allocations: 34.56 kB / 0.8724 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5879, allocations: 0 / 0.8724 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002436/0.5881, allocations: 93.42 kB / 0.8724 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.5882, allocations: 51.41 kB / 0.8725 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.5884, allocations: 222.4 kB / 0.8727 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.5884, allocations: 25.7 kB / 0.8727 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.5885, allocations: 136.1 kB / 0.8729 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.5885, allocations: 11.89 kB / 0.8729 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.5885, allocations: 3.938 kB / 0.8729 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5887, allocations: 334.8 kB / 0.8732 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.5887, allocations: 19.98 kB / 0.8732 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/0.5888, allocations: 19.98 kB / 0.8732 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.151e-05/0.5888, allocations: 28.03 kB / 0.8733 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5889, allocations: 4 kB / 0.8733 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001428/0.589, allocations: 85.48 kB / 0.8733 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.589, allocations: 4 kB / 0.8733 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.589, allocations: 3.938 kB / 0.8733 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5891, allocations: 0 / 0.8733 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5892, allocations: 15.98 kB / 0.8734 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5892, allocations: 0 / 0.8734 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.5893, allocations: 15.92 kB / 0.8734 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.5893, allocations: 4 kB / 0.8734 GB, free: 8.793 MB / 0.5417 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 (2): * Single equations (assignments): 2 * 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.471e-05/0.5894, allocations: 107 kB / 0.8735 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001608/0.5895, allocations: 93.47 kB / 0.8736 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.5896, allocations: 19.72 kB / 0.8736 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.5898, allocations: 110.8 kB / 0.8737 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5898, allocations: 3.984 kB / 0.8737 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5898, allocations: 4 kB / 0.8737 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5898, allocations: 4.062 kB / 0.8737 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.5901, allocations: 202.1 kB / 0.8739 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5901, allocations: 0 / 0.8739 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.5901, allocations: 8 kB / 0.8739 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5901, allocations: 0 / 0.8739 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.5902, allocations: 4 kB / 0.8739 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5902, allocations: 3.984 kB / 0.8739 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5902, allocations: 0 / 0.8739 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.5904, allocations: 187.3 kB / 0.8741 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.5904, allocations: 96.81 kB / 0.8742 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.5905, allocations: 0 / 0.8742 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.5906, allocations: 12 kB / 0.8742 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.5906, allocations: 3.984 kB / 0.8742 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.5906, allocations: 4 kB / 0.8742 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001444/0.5908, allocations: 177.9 kB / 0.8744 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.663e-06/0.5908, allocations: 4.031 kB / 0.8744 GB, free: 7.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002783/0.5911, allocations: 63.86 kB / 0.8744 GB, free: 7.617 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 (2): * Single equations (assignments): 2 * 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.00061/0.5917, allocations: 0.7786 MB / 0.8752 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.5918, allocations: 39.98 kB / 0.8752 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5918, allocations: 0 / 0.8752 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.5919, allocations: 27.88 kB / 0.8753 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.5922, allocations: 37.67 kB / 0.8753 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.5928, allocations: 294.9 kB / 0.8756 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.5931, allocations: 0.7431 MB / 0.8763 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.523e-05/0.5932, allocations: 12.09 kB / 0.8763 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.5933, allocations: 47.42 kB / 0.8764 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.5933, allocations: 3.938 kB / 0.8764 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.6158, allocations: 3.524 MB / 0.8798 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.6161, allocations: 165.4 kB / 0.88 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.321, allocations: 0.9844 kB / 0.88 GB, free: 1.871 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)