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.0009802/0.0009802, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001038/0.001038, allocations: 192.2 kB / 16.25 MB, free: 6.156 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 283.1 kB / 290.3 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8784/0.8784, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 91.52 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1303, allocations: 86.98 MB / 0.6797 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002594/0.1329, allocations: 1.762 MB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1342, allocations: 1.104 MB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.1343, allocations: 0 / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.1346, allocations: 155.6 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.1347, allocations: 55.78 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.1351, allocations: 139.6 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1352, allocations: 111.5 kB / 0.683 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.1353, allocations: 8 kB / 0.683 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.856e-05/0.1354, allocations: 39.84 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.1354, allocations: 67.75 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1355, allocations: 4 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.1358, allocations: 223.6 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.1359, allocations: 59.8 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.1359, allocations: 67.55 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.1363, allocations: 303.1 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1363, allocations: 3.938 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1363, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1363, allocations: 7.938 kB / 0.6837 GB, free: 12.82 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.0005318/0.1368, allocations: 0.4981 MB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.1369, allocations: 8.031 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.004e-05/0.1369, allocations: 38.75 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.1369, allocations: 16.75 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1371, allocations: 215.7 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.1371, allocations: 4.359 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1371, allocations: 384 / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1373, allocations: 97.52 kB / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1373, allocations: 0 / 0.6846 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1373, allocations: 4 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1373, allocations: 0 / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.1375, allocations: 91.94 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.138, allocations: 376.8 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1382, allocations: 102.5 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1383, allocations: 56.88 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.1383, allocations: 23.98 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.1383, allocations: 30.56 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1383, allocations: 4 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003964/0.1387, allocations: 189.3 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1388, allocations: 55.39 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.139, allocations: 258.7 kB / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.139, allocations: 25.7 kB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.14e-05/0.1391, allocations: 132.1 kB / 0.6859 GB, free: 10.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1391, allocations: 19.97 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.1392, allocations: 9.719 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.1393, allocations: 338.8 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1394, allocations: 47.97 kB / 0.6863 GB, free: 10 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.364e-05/0.1395, allocations: 43.97 kB / 0.6863 GB, free: 9.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.1397, allocations: 108.8 kB / 0.6864 GB, free: 9.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1397, allocations: 3.938 kB / 0.6864 GB, free: 9.844 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002362/0.1399, allocations: 137.5 kB / 0.6865 GB, free: 9.703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1399, allocations: 4 kB / 0.6865 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1399, allocations: 0 / 0.6865 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1399, allocations: 0 / 0.6865 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.14, allocations: 15.92 kB / 0.6866 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.14, allocations: 0 / 0.6866 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.1401, allocations: 12.02 kB / 0.6866 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1401, allocations: 4 kB / 0.6866 GB, free: 9.668 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.658e-05/0.1402, allocations: 139 kB / 0.6867 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.1403, allocations: 23.7 kB / 0.6867 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.1406, allocations: 162.5 kB / 0.6869 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1406, allocations: 7.938 kB / 0.6869 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1406, allocations: 0 / 0.6869 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1406, allocations: 4 kB / 0.6869 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.1408, allocations: 245.5 kB / 0.6871 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1408, allocations: 0 / 0.6871 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.1409, allocations: 11.98 kB / 0.6871 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1409, allocations: 0 / 0.6871 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1409, allocations: 0 / 0.6871 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1409, allocations: 7.938 kB / 0.6872 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1409, allocations: 0 / 0.6872 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.1412, allocations: 251.2 kB / 0.6874 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.1412, allocations: 96.91 kB / 0.6875 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1413, allocations: 0 / 0.6875 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.1414, allocations: 7.984 kB / 0.6875 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.1414, allocations: 4 kB / 0.6875 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1414, allocations: 0 / 0.6875 GB, free: 8.621 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1416, allocations: 197.9 kB / 0.6877 GB, free: 8.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1416, allocations: 0 / 0.6877 GB, free: 8.434 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.1419, allocations: 67.92 kB / 0.6877 GB, free: 8.367 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.0006871/0.1426, allocations: 0.8527 MB / 0.6886 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.1428, allocations: 111.9 kB / 0.6887 GB, free: 7.379 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1428, allocations: 0 / 0.6887 GB, free: 7.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1429, allocations: 55.91 kB / 0.6887 GB, free: 7.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.1434, allocations: 44.52 kB / 0.6888 GB, free: 7.281 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.1441, allocations: 476 kB / 0.6892 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1443, allocations: 0.7353 MB / 0.69 GB, free: 6.016 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.191e-05/0.1444, allocations: 8 kB / 0.69 GB, free: 6.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.1444, allocations: 51.42 kB / 0.69 GB, free: 5.957 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1444, allocations: 0 / 0.69 GB, free: 5.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.1583, allocations: 4.388 MB / 0.6943 GB, free: 1.773 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.1585, allocations: 223.2 kB / 0.6945 GB, free: 1.523 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.817, allocations: 0 / 0.6945 GB, free: 1.523 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)