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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008024/0.0008024, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008206/0.0008205, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 270.8 kB / 291.3 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9332/0.9332, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 12.41 kB / 0.598 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.001627/0.1377, allocations: 1.402 MB / 0.6858 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1388, allocations: 0.9119 MB / 0.6867 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.1388, allocations: 0 / 0.6867 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.1391, allocations: 95.48 kB / 0.6868 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.504e-05/0.1392, allocations: 51.23 kB / 0.6869 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1394, allocations: 75.66 kB / 0.6869 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1396, allocations: 167.4 kB / 0.6871 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.1396, allocations: 7.984 kB / 0.6871 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.1397, allocations: 35.8 kB / 0.6871 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1398, allocations: 71.75 kB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1398, allocations: 0 / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.14, allocations: 96.38 kB / 0.6873 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1401, allocations: 56.48 kB / 0.6874 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.1401, allocations: 53.58 kB / 0.6874 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1403, allocations: 144.5 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1403, allocations: 0 / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1403, allocations: 6.219 kB / 0.6876 GB, free: 12.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1404, allocations: 0 / 0.6876 GB, free: 12.29 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.0004929/0.1409, allocations: 478.8 kB / 0.688 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.1409, allocations: 8.781 kB / 0.688 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.1409, allocations: 27.67 kB / 0.688 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1411, allocations: 200.4 kB / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1411, allocations: 4 kB / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.1411, allocations: 0 / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.1413, allocations: 66.31 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1413, allocations: 2.094 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1413, allocations: 4 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1413, allocations: 4 kB / 0.6883 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.1415, allocations: 70.28 kB / 0.6884 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.142, allocations: 342.2 kB / 0.6887 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1421, allocations: 69.11 kB / 0.6888 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.1422, allocations: 41.8 kB / 0.6888 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.1423, allocations: 12 kB / 0.6888 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1423, allocations: 34.55 kB / 0.6889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 6.442e-06/0.1423, allocations: 3.938 kB / 0.6889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003739/0.1427, allocations: 169.3 kB / 0.689 GB, free: 10.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.1427, allocations: 51.41 kB / 0.6891 GB, free: 10.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.1429, allocations: 250.7 kB / 0.6893 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.143, allocations: 29.7 kB / 0.6893 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.1431, allocations: 132.1 kB / 0.6895 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.1431, allocations: 11.78 kB / 0.6895 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.1431, allocations: 0 / 0.6895 GB, free: 10.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1432, allocations: 338.8 kB / 0.6898 GB, free: 9.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.1433, allocations: 31.98 kB / 0.6898 GB, free: 9.762 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.1434, allocations: 35.97 kB / 0.6899 GB, free: 9.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.823e-05/0.1435, allocations: 40.03 kB / 0.6899 GB, free: 9.688 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1435, allocations: 0 / 0.6899 GB, free: 9.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002179/0.1437, allocations: 113.4 kB / 0.69 GB, free: 9.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1437, allocations: 4 kB / 0.69 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1437, allocations: 8.031 kB / 0.69 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1438, allocations: 3.953 kB / 0.69 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.1438, allocations: 15.98 kB / 0.69 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.1439, allocations: 0 / 0.69 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.1439, allocations: 15.98 kB / 0.6901 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.1439, allocations: 0 / 0.6901 GB, free: 9.523 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.942e-05/0.144, allocations: 126.5 kB / 0.6902 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.1441, allocations: 27.72 kB / 0.6902 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.1443, allocations: 126.4 kB / 0.6903 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1444, allocations: 3.953 kB / 0.6903 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1444, allocations: 4 kB / 0.6903 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1444, allocations: 4.031 kB / 0.6903 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1446, allocations: 217.6 kB / 0.6905 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1446, allocations: 0 / 0.6905 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.1446, allocations: 11.98 kB / 0.6906 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1447, allocations: 0 / 0.6906 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.1447, allocations: 0 / 0.6906 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1447, allocations: 0 / 0.6906 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1447, allocations: 7.953 kB / 0.6906 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1449, allocations: 207.3 kB / 0.6908 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.145, allocations: 100.8 kB / 0.6909 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.145, allocations: 4 kB / 0.6909 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.1451, allocations: 11.97 kB / 0.6909 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.1452, allocations: 7.984 kB / 0.6909 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.1452, allocations: 3.953 kB / 0.6909 GB, free: 8.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.1453, allocations: 189.9 kB / 0.6911 GB, free: 8.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1453, allocations: 0 / 0.6911 GB, free: 8.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1456, allocations: 51.94 kB / 0.6911 GB, free: 8.34 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 (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.0001823/0.1458, allocations: 139.2 kB / 0.6912 GB, free: 8.195 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.146, allocations: 75.95 kB / 0.6913 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.146, allocations: 0 / 0.6913 GB, free: 8.121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/0.1461, allocations: 35.97 kB / 0.6914 GB, free: 8.086 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.1466, allocations: 41.34 kB / 0.6914 GB, free: 8.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.147, allocations: 364.6 kB / 0.6917 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1473, allocations: 0.7355 MB / 0.6925 GB, free: 6.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.1474, allocations: 4.188 kB / 0.6925 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.1474, allocations: 11.44 kB / 0.6925 GB, free: 6.887 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1474, allocations: 0 / 0.6925 GB, free: 6.887 MB / 494.1 MB Notification: Performance of Templates: time 0.004207/0.1516, allocations: 1.789 MB / 0.6942 GB, free: 5.137 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)