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.9008/0.9008, allocations: 143.3 MB / 158.3 MB, free: 5.805 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.001429/0.001429, allocations: 177.1 kB / 191.5 MB, free: 5.762 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.603/1.603, allocations: 223.2 MB / 447.7 MB, free: 4.734 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.001085/0.001086, allocations: 100.8 kB / 0.5187 GB, free: 1.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001921/0.001921, allocations: 268 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004322, allocations: 13.53 kB / 0.6929 GB, free: 59.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2051, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5999/0.8051, allocations: 111.6 MB / 0.8827 GB, free: 32.36 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.8054, allocations: 85.3 kB / 0.8828 GB, free: 32.36 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.8199, allocations: 5.574 MB / 0.8883 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.956e-06/0.8199, allocations: 4 kB / 0.8883 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.8199, allocations: 2.812 kB / 0.8883 GB, free: 31.41 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.000657/0.8206, allocations: 497.8 kB / 0.8887 GB, free: 30.97 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.8207, allocations: 10.08 kB / 0.8887 GB, free: 30.97 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.8207, allocations: 35.66 kB / 0.8888 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.8208, allocations: 20.28 kB / 0.8888 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.821, allocations: 209.4 kB / 0.889 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.821, allocations: 5.625 kB / 0.889 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.821, allocations: 0 / 0.889 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.8212, allocations: 71.33 kB / 0.8891 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.8213, allocations: 1.672 kB / 0.8891 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.8213, allocations: 0 / 0.8891 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8213, allocations: 1.375 kB / 0.8891 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.8215, allocations: 78.55 kB / 0.8891 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.8221, allocations: 345.1 kB / 0.8895 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.8223, allocations: 78.34 kB / 0.8896 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.8224, allocations: 10.11 kB / 0.8896 GB, free: 30.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.8224, allocations: 35.03 kB / 0.8896 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 2.405e-06/0.8224, allocations: 3.984 kB / 0.8896 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004938/0.8229, allocations: 167.3 kB / 0.8898 GB, free: 30.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.823, allocations: 51.97 kB / 0.8898 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.8232, allocations: 231.8 kB / 0.89 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.8232, allocations: 33.77 kB / 0.8901 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.8233, allocations: 133.9 kB / 0.8902 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.8233, allocations: 4.609 kB / 0.8902 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.8234, allocations: 0 / 0.8902 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.8234, allocations: 334.7 kB / 0.8905 GB, free: 29.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.8236, allocations: 36.77 kB / 0.8905 GB, free: 29.67 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.839e-05/0.8237, allocations: 42.55 kB / 0.8906 GB, free: 29.67 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.8238, allocations: 40.41 kB / 0.8906 GB, free: 29.67 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.8238, allocations: 0 / 0.8906 GB, free: 29.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002647/0.824, allocations: 125 kB / 0.8907 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.8241, allocations: 10.58 kB / 0.8908 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.8241, allocations: 0 / 0.8908 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.8241, allocations: 3.938 kB / 0.8908 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.8242, allocations: 18.25 kB / 0.8908 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.8242, allocations: 0 / 0.8908 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.44e-05/0.8243, allocations: 12.22 kB / 0.8908 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.8244, allocations: 6.641 kB / 0.8908 GB, free: 29.61 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 () * Number of clocked 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 0.0001106/0.8245, allocations: 137.7 kB / 0.8909 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.8245, allocations: 20.47 kB / 0.8909 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.8249, allocations: 143.7 kB / 0.8911 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8249, allocations: 3.938 kB / 0.8911 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.8249, allocations: 0 / 0.8911 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8249, allocations: 3.312 kB / 0.8911 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.8251, allocations: 222.5 kB / 0.8913 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8251, allocations: 0 / 0.8913 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.8252, allocations: 15.3 kB / 0.8913 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8252, allocations: 32 / 0.8913 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.8252, allocations: 7.391 kB / 0.8913 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.8252, allocations: 0 / 0.8913 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8253, allocations: 0 / 0.8913 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.8256, allocations: 225.1 kB / 0.8915 GB, free: 29.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.8256, allocations: 94.67 kB / 0.8916 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.8256, allocations: 0.7031 kB / 0.8916 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.8258, allocations: 10.48 kB / 0.8916 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.8258, allocations: 1.359 kB / 0.8916 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.8258, allocations: 6.594 kB / 0.8916 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001653/0.826, allocations: 190.6 kB / 0.8918 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/0.826, allocations: 0 / 0.8918 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003591/0.8264, allocations: 59.73 kB / 0.8919 GB, free: 28.9 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 () * Number of clocked 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.000727/0.8271, allocations: 0.8179 MB / 0.8927 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.8274, allocations: 82.03 kB / 0.8928 GB, free: 28.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8274, allocations: 0 / 0.8928 GB, free: 28.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.8275, allocations: 40.58 kB / 0.8928 GB, free: 28.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.8278, allocations: 40.53 kB / 0.8928 GB, free: 28.19 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008437/0.8287, allocations: 446 kB / 0.8933 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.8289, allocations: 0.7461 MB / 0.894 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.921e-05/0.829, allocations: 3.75 kB / 0.894 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.8291, allocations: 45.22 kB / 0.894 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.8291, allocations: 3.938 kB / 0.894 GB, free: 27.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.8484, allocations: 4.157 MB / 0.8981 GB, free: 26.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.8487, allocations: 213.2 kB / 0.8983 GB, free: 26.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.67, allocations: 0 / 0.8983 GB, free: 26.66 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)