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.7341/0.7341, 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.001061/0.001061, allocations: 182.5 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.34/1.34, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.000889/0.000889, allocations: 94.78 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001762, allocations: 281.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.694e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4123, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.5314, allocations: 111.5 MB / 0.8732 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.5317, allocations: 87.83 kB / 0.8733 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.5451, allocations: 5.573 MB / 0.8788 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5451, allocations: 0 / 0.8788 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.228e-06/0.5451, allocations: 4 kB / 0.8788 GB, free: 7.316 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.0004139/0.5456, allocations: 454.3 kB / 0.8792 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.5456, allocations: 12.03 kB / 0.8792 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.5457, allocations: 30.56 kB / 0.8793 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.5457, allocations: 19.72 kB / 0.8793 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.5459, allocations: 206.6 kB / 0.8795 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.5459, allocations: 0 / 0.8795 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.5459, allocations: 8 kB / 0.8795 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.546, allocations: 57.61 kB / 0.8795 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.546, allocations: 0 / 0.8795 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.5461, allocations: 4 kB / 0.8795 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.5461, allocations: 3.984 kB / 0.8795 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.5462, allocations: 47.95 kB / 0.8796 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.5466, allocations: 336.8 kB / 0.8799 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5468, allocations: 58.55 kB / 0.88 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.41e-05/0.5468, allocations: 36.84 kB / 0.88 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.5469, allocations: 11.98 kB / 0.88 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.5469, allocations: 34.56 kB / 0.88 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5469, allocations: 0 / 0.88 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001846/0.5471, allocations: 89.41 kB / 0.8801 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.5471, allocations: 59.36 kB / 0.8802 GB, free: 5.691 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.5473, allocations: 227.2 kB / 0.8804 GB, free: 5.461 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.5473, allocations: 33.64 kB / 0.8804 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.5474, allocations: 136.1 kB / 0.8806 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.5475, allocations: 3.906 kB / 0.8806 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.5475, allocations: 0 / 0.8806 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5476, allocations: 326.8 kB / 0.8809 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.5476, allocations: 23.98 kB / 0.8809 GB, free: 4.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.5477, allocations: 27.92 kB / 0.8809 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.5477, allocations: 23.97 kB / 0.8809 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5477, allocations: 0 / 0.8809 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/0.5478, allocations: 89.48 kB / 0.881 GB, free: 4.785 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5479, allocations: 8 kB / 0.881 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.5479, allocations: 0 / 0.881 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.5479, allocations: 0 / 0.881 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.548, allocations: 12.08 kB / 0.8811 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.548, allocations: 7.938 kB / 0.8811 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.5481, allocations: 19.94 kB / 0.8811 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.5481, allocations: 4 kB / 0.8811 GB, free: 4.734 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 5.352e-05/0.5482, allocations: 101 kB / 0.8812 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.5482, allocations: 19.72 kB / 0.8812 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.5484, allocations: 114.5 kB / 0.8813 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.5484, allocations: 32 / 0.8813 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5484, allocations: 4 kB / 0.8813 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5484, allocations: 0 / 0.8813 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.5486, allocations: 221.5 kB / 0.8815 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5486, allocations: 0 / 0.8815 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.5487, allocations: 12 kB / 0.8815 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5487, allocations: 3.984 kB / 0.8815 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.5487, allocations: 0 / 0.8815 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5487, allocations: 0 / 0.8815 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5487, allocations: 0.7812 kB / 0.8815 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.5489, allocations: 195.1 kB / 0.8817 GB, free: 4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.549, allocations: 96.91 kB / 0.8818 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.549, allocations: 4 kB / 0.8818 GB, free: 3.883 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.5491, allocations: 4 kB / 0.8818 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.5491, allocations: 7.984 kB / 0.8818 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.5491, allocations: 4 kB / 0.8818 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001448/0.5493, allocations: 191.1 kB / 0.882 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5493, allocations: 0 / 0.882 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002528/0.5496, allocations: 59.92 kB / 0.8821 GB, free: 3.625 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.0005234/0.5501, allocations: 0.7967 MB / 0.8829 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.427e-05/0.5502, allocations: 43.92 kB / 0.8829 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5502, allocations: 0 / 0.8829 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.5502, allocations: 23.98 kB / 0.8829 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.5505, allocations: 36.66 kB / 0.883 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.5511, allocations: 307.8 kB / 0.8832 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.5514, allocations: 0.7433 MB / 0.884 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.217e-05/0.5514, allocations: 11.53 kB / 0.884 GB, free: 1.586 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.5515, allocations: 47.42 kB / 0.884 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.5515, allocations: 3.938 kB / 0.884 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.5661, allocations: 4.335 MB / 0.8883 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.5663, allocations: 180.5 kB / 0.8884 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.408, allocations: 0 / 0.8884 GB, free: 13.18 MB / 0.5573 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)