Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",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.8702/0.8702, allocations: 143.4 MB / 158.3 MB, free: 5.812 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.001307/0.001307, allocations: 181 kB / 191.5 MB, free: 5.758 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.623/1.623, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.001168/0.001168, allocations: 92.27 kB / 0.5187 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 277.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004463, allocations: 16.38 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5926/0.7803, allocations: 110.5 MB / 0.8817 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.7806, allocations: 85.34 kB / 0.8818 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01146/0.7921, allocations: 4.797 MB / 0.8865 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7921, allocations: 0 / 0.8865 GB, free: 30.87 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.7921, allocations: 5.531 kB / 0.8865 GB, free: 30.87 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.000545/0.7927, allocations: 479.1 kB / 0.8869 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.7927, allocations: 8.312 kB / 0.8869 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.7928, allocations: 34.5 kB / 0.887 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.7928, allocations: 16.98 kB / 0.887 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.793, allocations: 214 kB / 0.8872 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.793, allocations: 2.812 kB / 0.8872 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.793, allocations: 0 / 0.8872 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.7933, allocations: 63.16 kB / 0.8872 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7933, allocations: 3.938 kB / 0.8872 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.7933, allocations: 0 / 0.8872 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.7933, allocations: 0 / 0.8872 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.7935, allocations: 57.8 kB / 0.8873 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.7941, allocations: 318.2 kB / 0.8876 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.7942, allocations: 52.08 kB / 0.8877 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.7943, allocations: 7.594 kB / 0.8877 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.7943, allocations: 36.31 kB / 0.8877 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7943, allocations: 0 / 0.8877 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003997/0.7947, allocations: 132.3 kB / 0.8878 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.7948, allocations: 51.41 kB / 0.8879 GB, free: 29.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.795, allocations: 225.5 kB / 0.8881 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.795, allocations: 27.88 kB / 0.8881 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.7951, allocations: 137.4 kB / 0.8882 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.7952, allocations: 1.984 kB / 0.8882 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.7952, allocations: 4.125 kB / 0.8882 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.7953, allocations: 334.3 kB / 0.8886 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.593e-05/0.7954, allocations: 25.98 kB / 0.8886 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.7955, allocations: 26.5 kB / 0.8886 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.038e-05/0.7956, allocations: 29.47 kB / 0.8886 GB, free: 29.13 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7956, allocations: 0 / 0.8886 GB, free: 29.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002161/0.7958, allocations: 105 kB / 0.8887 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7958, allocations: 7.125 kB / 0.8888 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7958, allocations: 3.938 kB / 0.8888 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7958, allocations: 0.7969 kB / 0.8888 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.7959, allocations: 10.56 kB / 0.8888 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.7959, allocations: 1.438 kB / 0.8888 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.796, allocations: 7.984 kB / 0.8888 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.7961, allocations: 3.172 kB / 0.8888 GB, free: 29.08 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 9.32e-05/0.7962, allocations: 141.1 kB / 0.8889 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.7962, allocations: 17.03 kB / 0.8889 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.7965, allocations: 110 kB / 0.889 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7965, allocations: 4.031 kB / 0.889 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.7965, allocations: 2.141 kB / 0.889 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7965, allocations: 0 / 0.889 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.7967, allocations: 215.4 kB / 0.8892 GB, free: 28.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.7967, allocations: 2.188 kB / 0.8892 GB, free: 28.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.608e-05/0.7968, allocations: 19.09 kB / 0.8893 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.7968, allocations: 0 / 0.8893 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.7968, allocations: 2.672 kB / 0.8893 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7969, allocations: 0 / 0.8893 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7969, allocations: 4 kB / 0.8893 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.7971, allocations: 202 kB / 0.8895 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.7972, allocations: 94.97 kB / 0.8896 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.7972, allocations: 4.016 kB / 0.8896 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.7973, allocations: 12.27 kB / 0.8896 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.7974, allocations: 4.328 kB / 0.8896 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.7974, allocations: 0.6562 kB / 0.8896 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001866/0.7976, allocations: 187.8 kB / 0.8898 GB, free: 28.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7976, allocations: 2.812 kB / 0.8898 GB, free: 28.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000375/0.798, allocations: 35.75 kB / 0.8898 GB, free: 28.37 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.0006622/0.7986, allocations: 0.7925 MB / 0.8906 GB, free: 27.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.7989, allocations: 58.7 kB / 0.8906 GB, free: 27.67 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7989, allocations: 0 / 0.8906 GB, free: 27.67 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.799, allocations: 27.62 kB / 0.8906 GB, free: 27.67 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.7993, allocations: 46.28 kB / 0.8907 GB, free: 27.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.8001, allocations: 430.2 kB / 0.8911 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/0.8017, allocations: 0.7352 MB / 0.8918 GB, free: 42.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.947e-05/0.8018, allocations: 7 kB / 0.8918 GB, free: 42.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.8018, allocations: 49.62 kB / 0.8919 GB, free: 42.7 MB / 0.5573 GB Notification: Performance of SimCode: time 3.3e-07/0.8018, allocations: 0 / 0.8919 GB, free: 42.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.8203, allocations: 3.982 MB / 0.8958 GB, free: 42.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.8205, allocations: 214.3 kB / 0.896 GB, free: 42.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.639, allocations: 2.672 kB / 0.896 GB, free: 42.16 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)