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.7478/0.7478, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001123, allocations: 187.3 kB / 187.3 MB, free: 11.89 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.381/1.381, allocations: 221.3 MB / 441.4 MB, free: 4.656 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.0008662/0.0008663, allocations: 97.94 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 269.5 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.889e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.416, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.5366, allocations: 112.4 MB / 0.8741 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5369, allocations: 79.95 kB / 0.8742 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01573/0.5527, allocations: 6.171 MB / 0.8802 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5527, allocations: 4 kB / 0.8802 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5527, allocations: 4 kB / 0.8802 GB, free: 5.832 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.000492/0.5532, allocations: 451.2 kB / 0.8806 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5533, allocations: 12.03 kB / 0.8807 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.5533, allocations: 34.56 kB / 0.8807 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.5534, allocations: 19.72 kB / 0.8807 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.5535, allocations: 206.6 kB / 0.8809 GB, free: 5.035 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5536, allocations: 11.92 kB / 0.8809 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.5536, allocations: 4 kB / 0.8809 GB, free: 5.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.5538, allocations: 85.62 kB / 0.881 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.5538, allocations: 3.938 kB / 0.881 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.5538, allocations: 0 / 0.881 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.5538, allocations: 0 / 0.881 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.554, allocations: 87.92 kB / 0.8811 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.5546, allocations: 392.8 kB / 0.8815 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.5548, allocations: 106.5 kB / 0.8816 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.5548, allocations: 48.89 kB / 0.8816 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.5549, allocations: 27.97 kB / 0.8816 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.5549, allocations: 38.5 kB / 0.8817 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.555, allocations: 8 kB / 0.8817 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002706/0.5552, allocations: 137.3 kB / 0.8818 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.5553, allocations: 55.36 kB / 0.8819 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.5555, allocations: 227.1 kB / 0.8821 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.5555, allocations: 25.7 kB / 0.8821 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.5556, allocations: 136.1 kB / 0.8822 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.5557, allocations: 7.906 kB / 0.8822 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.5557, allocations: 0 / 0.8822 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5558, allocations: 338.8 kB / 0.8826 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/0.5559, allocations: 39.97 kB / 0.8826 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.556, allocations: 47.95 kB / 0.8827 GB, free: 3.121 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.556, allocations: 47.89 kB / 0.8827 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.556, allocations: 0 / 0.8827 GB, free: 3.074 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/0.5562, allocations: 141.4 kB / 0.8828 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5563, allocations: 4 kB / 0.8828 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5563, allocations: 0 / 0.8828 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5563, allocations: 0 / 0.8828 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.5564, allocations: 20.08 kB / 0.8829 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.5564, allocations: 2.578 kB / 0.8829 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.5565, allocations: 19.84 kB / 0.8829 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.5565, allocations: 8 kB / 0.8829 GB, free: 2.879 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 7.042e-05/0.5566, allocations: 101 kB / 0.883 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.5567, allocations: 15.81 kB / 0.883 GB, free: 2.758 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.557, allocations: 198.4 kB / 0.8832 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.557, allocations: 4 kB / 0.8832 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.557, allocations: 0 / 0.8832 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.557, allocations: 0 / 0.8832 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.5573, allocations: 245.5 kB / 0.8834 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5573, allocations: 4 kB / 0.8834 GB, free: 2.262 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.5574, allocations: 15.98 kB / 0.8834 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.5574, allocations: 3.938 kB / 0.8834 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5574, allocations: 0 / 0.8834 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5574, allocations: 4 kB / 0.8835 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5575, allocations: 4 kB / 0.8835 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.5577, allocations: 247.1 kB / 0.8837 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.5578, allocations: 89.02 kB / 0.8838 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.5578, allocations: 0 / 0.8838 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.5579, allocations: 15.97 kB / 0.8838 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.558, allocations: 4 kB / 0.8838 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.558, allocations: 11.98 kB / 0.8838 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001519/0.5581, allocations: 183.1 kB / 0.884 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5581, allocations: 7.938 kB / 0.884 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003667/0.5585, allocations: 79.86 kB / 0.8841 GB, free: 1.578 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 (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.0007482/0.5593, allocations: 0.8547 MB / 0.8849 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.5594, allocations: 83.89 kB / 0.885 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5595, allocations: 0 / 0.885 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.5595, allocations: 44.05 kB / 0.885 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.5598, allocations: 40.47 kB / 0.8851 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.5605, allocations: 327.9 kB / 0.8854 GB, free: 184 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.5608, allocations: 0.7433 MB / 0.8861 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.513e-05/0.5609, allocations: 9.828 kB / 0.8861 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.561, allocations: 54.11 kB / 0.8862 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of SimCode: time 3.71e-07/0.561, allocations: 3.938 kB / 0.8862 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.5784, allocations: 4.748 MB / 0.8908 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/0.5787, allocations: 179.5 kB / 0.891 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.426, allocations: 0 / 0.891 GB, free: 10.57 MB / 0.5573 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)