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.001146/0.001146, 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.001157/0.001157, allocations: 191.3 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.136/1.136, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001873/0.001873, allocations: 290.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8573/0.8573, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 89.14 kB / 0.5946 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1213, allocations: 86.98 MB / 0.6795 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002404/0.1237, allocations: 1.768 MB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1248, allocations: 0.9971 MB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.1248, allocations: 0 / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.1252, allocations: 155.7 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.1253, allocations: 52.45 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.1255, allocations: 83.72 kB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1256, allocations: 212.3 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.1257, allocations: 8.609 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.077e-05/0.1257, allocations: 41.25 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.1258, allocations: 67.69 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1258, allocations: 4 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.1261, allocations: 139.7 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.776e-05/0.1261, allocations: 56.39 kB / 0.683 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.1262, allocations: 59.56 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1265, allocations: 239.3 kB / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1265, allocations: 0 / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1265, allocations: 0 / 0.6833 GB, free: 13.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.1265, allocations: 0 / 0.6833 GB, free: 13.2 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.0004657/0.1269, allocations: 498.1 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.127, allocations: 8.031 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.589e-05/0.127, allocations: 34.75 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1271, allocations: 20.75 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1272, allocations: 215.6 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1272, allocations: 8.375 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.1272, allocations: 384 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1274, allocations: 65.59 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.1274, allocations: 0 / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.1274, allocations: 0 / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.1274, allocations: 3.938 kB / 0.6841 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.1276, allocations: 59.95 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.128, allocations: 340.8 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.1281, allocations: 62.55 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.1282, allocations: 36.89 kB / 0.6846 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.1282, allocations: 11.98 kB / 0.6846 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1283, allocations: 34.56 kB / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1283, allocations: 0 / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003377/0.1286, allocations: 141.3 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.1287, allocations: 51.41 kB / 0.6848 GB, free: 11.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1289, allocations: 258.7 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1289, allocations: 29.83 kB / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.1289, allocations: 140.1 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.129, allocations: 3.906 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.129, allocations: 17.72 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.1291, allocations: 334.8 kB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.1292, allocations: 31.97 kB / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.1293, allocations: 19.98 kB / 0.6856 GB, free: 10.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.1294, allocations: 72.88 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1294, allocations: 4 kB / 0.6857 GB, free: 10.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002041/0.1296, allocations: 109.4 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.1297, allocations: 4 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.1297, allocations: 0 / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-06/0.1297, allocations: 4 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.1298, allocations: 12.02 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1298, allocations: 0 / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.1298, allocations: 4 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1299, allocations: 3.984 kB / 0.6858 GB, free: 10.39 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.306e-05/0.1299, allocations: 139.1 kB / 0.686 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.13, allocations: 19.72 kB / 0.686 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.1302, allocations: 122.4 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1302, allocations: 0 / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1302, allocations: 0 / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1302, allocations: 0 / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1304, allocations: 221.5 kB / 0.6863 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1304, allocations: 0 / 0.6863 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.1305, allocations: 11.94 kB / 0.6863 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1305, allocations: 0 / 0.6863 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1305, allocations: 3.984 kB / 0.6863 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1305, allocations: 0 / 0.6863 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1305, allocations: 4.031 kB / 0.6863 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.1308, allocations: 203.3 kB / 0.6865 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.1308, allocations: 92.83 kB / 0.6866 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1308, allocations: 11.91 kB / 0.6866 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.1309, allocations: 4 kB / 0.6866 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.131, allocations: 8.016 kB / 0.6866 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.131, allocations: 0 / 0.6866 GB, free: 9.457 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1311, allocations: 190 kB / 0.6868 GB, free: 9.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1311, allocations: 0 / 0.6868 GB, free: 9.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1314, allocations: 59.92 kB / 0.6869 GB, free: 9.219 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.000519/0.1319, allocations: 0.7824 MB / 0.6876 GB, free: 8.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1321, allocations: 63.89 kB / 0.6877 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1321, allocations: 7.938 kB / 0.6877 GB, free: 8.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.1322, allocations: 31.97 kB / 0.6877 GB, free: 8.309 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1326, allocations: 40.62 kB / 0.6878 GB, free: 8.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.1332, allocations: 445.6 kB / 0.6882 GB, free: 7.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.1334, allocations: 0.7394 MB / 0.6889 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.1335, allocations: 4 kB / 0.6889 GB, free: 7.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.1335, allocations: 51.42 kB / 0.689 GB, free: 6.973 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1335, allocations: 0 / 0.689 GB, free: 6.973 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.552/1.685, allocations: 3.876 MB / 0.6928 GB, free: 3.281 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.686, allocations: 223.5 kB / 0.693 GB, free: 3.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/3.788, allocations: 2.5 kB / 0.693 GB, free: 3.031 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)