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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001224/0.001225, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.229/1.229, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001955/0.001955, allocations: 273 kB / 290.2 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8761/0.8761, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 93.66 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1237, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002449/0.1261, allocations: 1.761 MB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1274, allocations: 1.134 MB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.1275, allocations: 5.5 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.1278, allocations: 151.7 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.1279, allocations: 59.73 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1282, allocations: 116.2 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1283, allocations: 219.3 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.047e-05/0.1284, allocations: 8.625 kB / 0.6829 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.1284, allocations: 35.8 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.422e-05/0.1285, allocations: 75.69 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1285, allocations: 0 / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003077/0.1289, allocations: 231.5 kB / 0.6832 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.1289, allocations: 51.86 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.129, allocations: 59.56 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.1293, allocations: 307.1 kB / 0.6836 GB, free: 12.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.1293, allocations: 0 / 0.6836 GB, free: 12.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1293, allocations: 0 / 0.6836 GB, free: 12.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.1294, allocations: 0 / 0.6836 GB, free: 12.9 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.0004919/0.1299, allocations: 0.4982 MB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.1299, allocations: 12.03 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.652e-05/0.1299, allocations: 30.75 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.13, allocations: 16.75 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1301, allocations: 219.7 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1301, allocations: 4.375 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.1301, allocations: 384 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1303, allocations: 89.59 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1303, allocations: 3.938 kB / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-06/0.1303, allocations: 0 / 0.6845 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.1303, allocations: 4 kB / 0.6845 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.1306, allocations: 95.92 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.131, allocations: 372.8 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1312, allocations: 98.53 kB / 0.685 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1313, allocations: 52.89 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.1313, allocations: 27.98 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1314, allocations: 34.5 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.245e-06/0.1314, allocations: 0 / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004177/0.1318, allocations: 205.2 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.1318, allocations: 51.41 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.132, allocations: 258.7 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1321, allocations: 25.7 kB / 0.6856 GB, free: 10.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.1321, allocations: 140.1 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.1322, allocations: 3.906 kB / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.1322, allocations: 17.84 kB / 0.6858 GB, free: 10.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.1323, allocations: 334.8 kB / 0.6861 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.1324, allocations: 47.97 kB / 0.6862 GB, free: 10.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1325, allocations: 47.91 kB / 0.6862 GB, free: 10.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.1327, allocations: 100.8 kB / 0.6863 GB, free: 9.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1327, allocations: 4.062 kB / 0.6863 GB, free: 9.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002497/0.133, allocations: 141.4 kB / 0.6864 GB, free: 9.789 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.133, allocations: 8 kB / 0.6865 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.133, allocations: 0 / 0.6865 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.133, allocations: 0 / 0.6865 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.1331, allocations: 11.98 kB / 0.6865 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.1331, allocations: 0 / 0.6865 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.1332, allocations: 7.984 kB / 0.6865 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1332, allocations: 8.031 kB / 0.6865 GB, free: 9.754 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.94e-05/0.1333, allocations: 139 kB / 0.6866 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1334, allocations: 31.64 kB / 0.6866 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.1337, allocations: 170.5 kB / 0.6868 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1337, allocations: 0 / 0.6868 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1337, allocations: 0 / 0.6868 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1337, allocations: 4 kB / 0.6868 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1339, allocations: 241.5 kB / 0.687 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1339, allocations: 0 / 0.687 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.134, allocations: 8 kB / 0.687 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.134, allocations: 0 / 0.687 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.134, allocations: 4 kB / 0.6871 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.134, allocations: 7.984 kB / 0.6871 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.134, allocations: 0 / 0.6871 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1343, allocations: 247.2 kB / 0.6873 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.1344, allocations: 96.83 kB / 0.6874 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1344, allocations: 0 / 0.6874 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.1345, allocations: 11.92 kB / 0.6874 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1345, allocations: 0 / 0.6874 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1345, allocations: 4 kB / 0.6874 GB, free: 8.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1347, allocations: 189.9 kB / 0.6876 GB, free: 8.523 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1347, allocations: 0 / 0.6876 GB, free: 8.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.135, allocations: 79.94 kB / 0.6877 GB, free: 8.445 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 (3): * Single equations (assignments): 3 * 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.0006591/0.1357, allocations: 0.8487 MB / 0.6885 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.1359, allocations: 103.9 kB / 0.6886 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1359, allocations: 0 / 0.6886 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.136, allocations: 55.95 kB / 0.6886 GB, free: 7.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.1365, allocations: 38.02 kB / 0.6887 GB, free: 7.379 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.1372, allocations: 481.7 kB / 0.6891 GB, free: 6.867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1374, allocations: 0.7316 MB / 0.6899 GB, free: 6.109 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.1375, allocations: 20.16 kB / 0.6899 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.1375, allocations: 51.42 kB / 0.6899 GB, free: 6.039 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1375, allocations: 0 / 0.6899 GB, free: 6.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.1504, allocations: 4.297 MB / 0.6941 GB, free: 1.922 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.1506, allocations: 234.3 kB / 0.6943 GB, free: 1.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.788, allocations: 0 / 0.6943 GB, free: 1.664 MB / 494.1 MB (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/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)