Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",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.8197/0.8197, allocations: 143.3 MB / 158.3 MB, free: 5.801 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.001137/0.001137, allocations: 181 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.63/1.63, allocations: 223.1 MB / 447.7 MB, free: 4.809 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.001111/0.001111, allocations: 96.25 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001746, allocations: 268.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004892, allocations: 11.84 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6032/0.8162, allocations: 112.4 MB / 0.8836 GB, free: 32.84 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/0.8166, allocations: 89.73 kB / 0.8837 GB, free: 32.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.8326, allocations: 6.162 MB / 0.8897 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8327, allocations: 0 / 0.8897 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.8327, allocations: 2.938 kB / 0.8897 GB, free: 31.86 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.0005361/0.8332, allocations: 496.4 kB / 0.8902 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.8333, allocations: 8.969 kB / 0.8902 GB, free: 31.42 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.8333, allocations: 38.38 kB / 0.8902 GB, free: 31.38 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.8334, allocations: 21.06 kB / 0.8902 GB, free: 31.37 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.8335, allocations: 220 kB / 0.8904 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.8335, allocations: 0 / 0.8904 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.8336, allocations: 2.906 kB / 0.8904 GB, free: 31.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.8338, allocations: 97.33 kB / 0.8905 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8338, allocations: 0 / 0.8905 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.8339, allocations: 0 / 0.8905 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.8339, allocations: 0.75 kB / 0.8905 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.8341, allocations: 128.5 kB / 0.8907 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.8348, allocations: 395.1 kB / 0.891 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.835, allocations: 123 kB / 0.8912 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-05/0.8351, allocations: 26.28 kB / 0.8912 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.8351, allocations: 38.16 kB / 0.8912 GB, free: 30.76 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.8351, allocations: 0 / 0.8912 GB, free: 30.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0005488/0.8357, allocations: 236.9 kB / 0.8914 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.8357, allocations: 57.12 kB / 0.8915 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.8359, allocations: 240.3 kB / 0.8917 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.8359, allocations: 25.7 kB / 0.8917 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.836, allocations: 134.2 kB / 0.8919 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.836, allocations: 3.906 kB / 0.8919 GB, free: 30.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.8361, allocations: 0 / 0.8919 GB, free: 30.42 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.46e-05/0.8361, allocations: 330 kB / 0.8922 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.8363, allocations: 64.58 kB / 0.8923 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.8364, allocations: 67.61 kB / 0.8923 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.8365, allocations: 61.19 kB / 0.8924 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8366, allocations: 2.719 kB / 0.8924 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002934/0.8369, allocations: 170 kB / 0.8925 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8369, allocations: 5.188 kB / 0.8925 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8369, allocations: 2.016 kB / 0.8925 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.8369, allocations: 0 / 0.8925 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.837, allocations: 17.81 kB / 0.8926 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.837, allocations: 10.97 kB / 0.8926 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.8371, allocations: 6.875 kB / 0.8926 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.8371, allocations: 11.81 kB / 0.8926 GB, free: 30.05 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.43e-05/0.8372, allocations: 138.5 kB / 0.8927 GB, free: 29.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.8373, allocations: 24.16 kB / 0.8927 GB, free: 29.92 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.8378, allocations: 225.4 kB / 0.893 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8378, allocations: 2.188 kB / 0.893 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8378, allocations: 0 / 0.893 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8378, allocations: 1.781 kB / 0.893 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.8381, allocations: 249.2 kB / 0.8932 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8381, allocations: 0 / 0.8932 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.8381, allocations: 18.61 kB / 0.8932 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.8382, allocations: 0 / 0.8932 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.8382, allocations: 4.906 kB / 0.8932 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8382, allocations: 3.938 kB / 0.8932 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8382, allocations: 0 / 0.8932 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.8385, allocations: 281.4 kB / 0.8935 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.8386, allocations: 92.22 kB / 0.8936 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.8386, allocations: 0 / 0.8936 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.8387, allocations: 9.547 kB / 0.8936 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.8388, allocations: 2.844 kB / 0.8936 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.8388, allocations: 7.188 kB / 0.8936 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00016/0.839, allocations: 193.3 kB / 0.8938 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.839, allocations: 4 kB / 0.8938 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004525/0.8395, allocations: 79.36 kB / 0.8939 GB, free: 29.33 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 (3): * Single equations (assignments): 3 * 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.0007619/0.8402, allocations: 0.8842 MB / 0.8947 GB, free: 28.63 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.8405, allocations: 113 kB / 0.8948 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8406, allocations: 0 / 0.8948 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.8407, allocations: 58.72 kB / 0.8949 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.841, allocations: 42.16 kB / 0.8949 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/0.842, allocations: 488.5 kB / 0.8954 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.8422, allocations: 0.7435 MB / 0.8961 GB, free: 27.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.951e-05/0.8423, allocations: 5.594 kB / 0.8961 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.8424, allocations: 50.73 kB / 0.8962 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.8424, allocations: 1 kB / 0.8962 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.8638, allocations: 4.562 MB / 0.9006 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/0.8642, allocations: 202.5 kB / 0.9008 GB, free: 27.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.761, allocations: 4 kB / 0.9008 GB, free: 27.05 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)