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.0008796/0.0008797, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005087/0.005087, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.246/1.246, allocations: 223.2 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 270.7 kB / 291.7 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9051/0.9051, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.0003989, allocations: 19.03 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.00161/0.1335, allocations: 1.425 MB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1349, allocations: 1.113 MB / 0.6877 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.1349, allocations: 5.625 kB / 0.6877 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.1353, allocations: 147.7 kB / 0.6878 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.1354, allocations: 55.73 kB / 0.6879 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.1358, allocations: 122.5 kB / 0.688 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.136, allocations: 227.2 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.136, allocations: 11.97 kB / 0.6882 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.1361, allocations: 27.86 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1362, allocations: 75.73 kB / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.1362, allocations: 0 / 0.6883 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.1366, allocations: 224.1 kB / 0.6886 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.1366, allocations: 55.8 kB / 0.6886 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.1367, allocations: 97.73 kB / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.1371, allocations: 291.6 kB / 0.689 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1371, allocations: 4.906 kB / 0.689 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1371, allocations: 0 / 0.689 GB, free: 11.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1371, allocations: 0 / 0.689 GB, free: 11.12 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.0005613/0.1377, allocations: 0.4884 MB / 0.6895 GB, free: 10.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1378, allocations: 8.781 kB / 0.6895 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.1378, allocations: 30.75 kB / 0.6895 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1378, allocations: 21.28 kB / 0.6895 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.138, allocations: 213.5 kB / 0.6897 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.138, allocations: 384 / 0.6897 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.138, allocations: 4.375 kB / 0.6897 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1382, allocations: 94.16 kB / 0.6898 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.1383, allocations: 0.6562 kB / 0.6898 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1383, allocations: 6.469 kB / 0.6898 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1383, allocations: 0 / 0.6898 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.1385, allocations: 106 kB / 0.6899 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.139, allocations: 381.5 kB / 0.6903 GB, free: 9.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1392, allocations: 104 kB / 0.6904 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1393, allocations: 66.89 kB / 0.6905 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.1394, allocations: 23.98 kB / 0.6905 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1394, allocations: 34.56 kB / 0.6905 GB, free: 9.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1394, allocations: 0 / 0.6905 GB, free: 9.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004599/0.1399, allocations: 209.5 kB / 0.6907 GB, free: 9.195 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.14, allocations: 51.41 kB / 0.6908 GB, free: 9.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.1402, allocations: 258.7 kB / 0.691 GB, free: 8.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1402, allocations: 25.7 kB / 0.691 GB, free: 8.844 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.1403, allocations: 132.1 kB / 0.6912 GB, free: 8.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1403, allocations: 11.89 kB / 0.6912 GB, free: 8.699 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.1404, allocations: 9.719 kB / 0.6912 GB, free: 8.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1405, allocations: 334.8 kB / 0.6915 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.1406, allocations: 55.94 kB / 0.6916 GB, free: 8.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.1407, allocations: 55.95 kB / 0.6916 GB, free: 8.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.1409, allocations: 112.9 kB / 0.6917 GB, free: 8.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.141, allocations: 0 / 0.6917 GB, free: 8.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002766/0.1412, allocations: 165.3 kB / 0.6919 GB, free: 7.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1413, allocations: 4 kB / 0.6919 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1413, allocations: 4 kB / 0.6919 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.1413, allocations: 3.938 kB / 0.6919 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.1414, allocations: 8 kB / 0.6919 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1414, allocations: 0 / 0.6919 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.794e-05/0.1415, allocations: 15.92 kB / 0.6919 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1415, allocations: 0 / 0.6919 GB, free: 7.922 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 0.0001004/0.1416, allocations: 151 kB / 0.692 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.1416, allocations: 15.81 kB / 0.6921 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.142, allocations: 174.5 kB / 0.6922 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.142, allocations: 0 / 0.6922 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.142, allocations: 0 / 0.6922 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.142, allocations: 3.984 kB / 0.6922 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.1422, allocations: 241.5 kB / 0.6925 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1422, allocations: 4 kB / 0.6925 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.1423, allocations: 11.98 kB / 0.6925 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1423, allocations: 0 / 0.6925 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1423, allocations: 8 kB / 0.6925 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1423, allocations: 0 / 0.6925 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1423, allocations: 7.938 kB / 0.6925 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1427, allocations: 259.2 kB / 0.6927 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.1427, allocations: 92.83 kB / 0.6928 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1427, allocations: 7.984 kB / 0.6928 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1429, allocations: 12 kB / 0.6928 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.1429, allocations: 3.984 kB / 0.6929 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1429, allocations: 4 kB / 0.6929 GB, free: 6.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.1431, allocations: 186 kB / 0.693 GB, free: 6.664 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1431, allocations: 0 / 0.693 GB, free: 6.664 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.1434, allocations: 75.92 kB / 0.6931 GB, free: 6.59 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.0007223/0.1441, allocations: 0.8566 MB / 0.6939 GB, free: 5.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.1444, allocations: 115.9 kB / 0.6941 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1444, allocations: 0 / 0.6941 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1445, allocations: 55.97 kB / 0.6941 GB, free: 5.539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.145, allocations: 49.27 kB / 0.6942 GB, free: 5.492 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.1457, allocations: 498 kB / 0.6946 GB, free: 4.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1459, allocations: 0.7394 MB / 0.6954 GB, free: 4.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.371e-05/0.146, allocations: 8 kB / 0.6954 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.1461, allocations: 51.41 kB / 0.6954 GB, free: 4.141 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1461, allocations: 0 / 0.6954 GB, free: 4.141 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.1598, allocations: 4.192 MB / 0.6995 GB, free: 164 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.16, allocations: 225.5 kB / 0.6997 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.803, allocations: 0 / 0.6997 GB, free: 15.91 MB / 0.4981 GB (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)