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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 190.1 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001909, allocations: 275.1 kB / 290.3 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8404/0.8404, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 90.52 kB / 0.5948 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.134, allocations: 86.98 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002563/0.1366, allocations: 1.766 MB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1378, allocations: 0.9885 MB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.1378, allocations: 4 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.1382, allocations: 143.7 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.1383, allocations: 63.73 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.1386, allocations: 87.77 kB / 0.6827 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1387, allocations: 111.4 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.1388, allocations: 7.984 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.1388, allocations: 35.8 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.1389, allocations: 75.67 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1389, allocations: 0 / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.1392, allocations: 147.7 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.1392, allocations: 47.88 kB / 0.6831 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.1393, allocations: 67.55 kB / 0.6832 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.1396, allocations: 239.2 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1396, allocations: 4 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1396, allocations: 0 / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1396, allocations: 0 / 0.6834 GB, free: 13.18 MB / 494.1 MB 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.0004804/0.1401, allocations: 494.1 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1401, allocations: 15.97 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.1401, allocations: 30.75 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.1402, allocations: 16.75 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1403, allocations: 223.6 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.1403, allocations: 384 / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.1403, allocations: 384 / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1405, allocations: 69.61 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1405, allocations: 0 / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.1405, allocations: 0 / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1405, allocations: 0 / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1407, allocations: 59.94 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.1411, allocations: 336.8 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1412, allocations: 62.55 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.1413, allocations: 32.89 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1414, allocations: 16 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1414, allocations: 34.56 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1414, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003464/0.1418, allocations: 137.3 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.1418, allocations: 55.34 kB / 0.6849 GB, free: 11.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.142, allocations: 258.8 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.142, allocations: 33.7 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.1421, allocations: 136.1 kB / 0.6853 GB, free: 11.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.1421, allocations: 11.91 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.1421, allocations: 9.719 kB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.1422, allocations: 338.8 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.1423, allocations: 23.98 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.1424, allocations: 35.97 kB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1426, allocations: 60.81 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1426, allocations: 0 / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002076/0.1428, allocations: 113.3 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1428, allocations: 4 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1428, allocations: 3.984 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1428, allocations: 8.078 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.609e-05/0.1429, allocations: 8 kB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.1429, allocations: 0 / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.143, allocations: 7.984 kB / 0.6859 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.143, allocations: 0 / 0.6859 GB, free: 10.37 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.1431, allocations: 143.1 kB / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.1431, allocations: 19.72 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1434, allocations: 118.5 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1434, allocations: 0 / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1434, allocations: 3.984 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1434, allocations: 0 / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1436, allocations: 217.6 kB / 0.6864 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1436, allocations: 4 kB / 0.6864 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.1437, allocations: 7.984 kB / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1437, allocations: 0 / 0.6864 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1437, allocations: 4 kB / 0.6864 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1437, allocations: 8.031 kB / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1437, allocations: 0 / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1439, allocations: 199.2 kB / 0.6866 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.144, allocations: 92.83 kB / 0.6867 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.144, allocations: 0 / 0.6867 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.1441, allocations: 19.95 kB / 0.6867 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.1441, allocations: 7.938 kB / 0.6867 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1442, allocations: 0 / 0.6867 GB, free: 9.438 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.1443, allocations: 189.9 kB / 0.6869 GB, free: 9.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1443, allocations: 4 kB / 0.6869 GB, free: 9.254 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1446, allocations: 51.94 kB / 0.687 GB, free: 9.203 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005459/0.1451, allocations: 0.7785 MB / 0.6877 GB, free: 8.398 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1453, allocations: 63.89 kB / 0.6878 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.1453, allocations: 0 / 0.6878 GB, free: 8.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.776e-05/0.1454, allocations: 32.06 kB / 0.6878 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1458, allocations: 49.83 kB / 0.6879 GB, free: 8.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.1465, allocations: 455.9 kB / 0.6883 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1467, allocations: 0.7353 MB / 0.689 GB, free: 7.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.1467, allocations: 4 kB / 0.689 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.1468, allocations: 50.05 kB / 0.6891 GB, free: 6.961 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1468, allocations: 0 / 0.6891 GB, free: 6.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.262/2.408, allocations: 3.943 MB / 0.6929 GB, free: 3.219 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/2.409, allocations: 234 kB / 0.6931 GB, free: 2.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/4.066, allocations: 0 / 0.6931 GB, free: 2.965 MB / 494.1 MB (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/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)