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.0008725/0.0008725, allocations: 98.27 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.00497/0.00497, allocations: 173.2 kB / 16.27 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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 263.2 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8861/0.8861, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 12.62 kB / 0.5988 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.001563/0.127, allocations: 1.428 MB / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1281, allocations: 0.9772 MB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.1282, allocations: 0 / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1285, allocations: 152.2 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.1286, allocations: 56.86 kB / 0.6878 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1288, allocations: 83.78 kB / 0.6879 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.129, allocations: 215.3 kB / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.1291, allocations: 9.516 kB / 0.6881 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.1291, allocations: 35.84 kB / 0.6881 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.1292, allocations: 68.44 kB / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1292, allocations: 0 / 0.6882 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1294, allocations: 143.7 kB / 0.6883 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.1295, allocations: 54.58 kB / 0.6884 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.1296, allocations: 89.27 kB / 0.6885 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1299, allocations: 239.2 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1299, allocations: 3.938 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1299, allocations: 0 / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1299, allocations: 0 / 0.6887 GB, free: 11.43 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.0004614/0.1303, allocations: 476.3 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1304, allocations: 8.031 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.1304, allocations: 36.47 kB / 0.6892 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.1304, allocations: 20.66 kB / 0.6892 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1306, allocations: 215.7 kB / 0.6894 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-06/0.1306, allocations: 384 / 0.6894 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.1306, allocations: 8.359 kB / 0.6894 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1308, allocations: 67.77 kB / 0.6895 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.1308, allocations: 0 / 0.6895 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.1308, allocations: 0.625 kB / 0.6895 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.1308, allocations: 4 kB / 0.6895 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.131, allocations: 69.95 kB / 0.6896 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1314, allocations: 344.8 kB / 0.6899 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.1316, allocations: 74.53 kB / 0.69 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.1317, allocations: 36.91 kB / 0.69 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.1317, allocations: 11.98 kB / 0.69 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.1317, allocations: 30.56 kB / 0.69 GB, free: 9.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1317, allocations: 0 / 0.69 GB, free: 9.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003702/0.1321, allocations: 157.4 kB / 0.6902 GB, free: 9.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.1321, allocations: 51.41 kB / 0.6902 GB, free: 9.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.1324, allocations: 262.6 kB / 0.6905 GB, free: 9.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1324, allocations: 29.83 kB / 0.6905 GB, free: 9.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.1325, allocations: 136.1 kB / 0.6906 GB, free: 9.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1325, allocations: 7.891 kB / 0.6906 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.1325, allocations: 13.7 kB / 0.6907 GB, free: 9.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1326, allocations: 334.8 kB / 0.691 GB, free: 8.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.1327, allocations: 31.97 kB / 0.691 GB, free: 8.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.994e-05/0.1328, allocations: 35.98 kB / 0.691 GB, free: 8.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.133, allocations: 80.73 kB / 0.6911 GB, free: 8.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.133, allocations: 4.062 kB / 0.6911 GB, free: 8.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002237/0.1332, allocations: 117.4 kB / 0.6912 GB, free: 8.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.1333, allocations: 4 kB / 0.6912 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1333, allocations: 0 / 0.6912 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.1333, allocations: 0 / 0.6912 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.616e-05/0.1334, allocations: 16.02 kB / 0.6913 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.1334, allocations: 4 kB / 0.6913 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.1334, allocations: 7.984 kB / 0.6913 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.1334, allocations: 0 / 0.6913 GB, free: 8.566 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.458e-05/0.1335, allocations: 139.1 kB / 0.6914 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.1336, allocations: 19.75 kB / 0.6914 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.1338, allocations: 134.4 kB / 0.6915 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1339, allocations: 0 / 0.6915 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1339, allocations: 4 kB / 0.6915 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.1339, allocations: 0 / 0.6915 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.1341, allocations: 221.5 kB / 0.6918 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1341, allocations: 0 / 0.6918 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.1341, allocations: 16.03 kB / 0.6918 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1341, allocations: 3.984 kB / 0.6918 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1341, allocations: 0 / 0.6918 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1342, allocations: 0 / 0.6918 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1342, allocations: 0 / 0.6918 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1344, allocations: 223.1 kB / 0.692 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.1345, allocations: 92.91 kB / 0.6921 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1345, allocations: 0 / 0.6921 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.1346, allocations: 8 kB / 0.6921 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.1346, allocations: 3.984 kB / 0.6921 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1346, allocations: 3.938 kB / 0.6921 GB, free: 7.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.1348, allocations: 194 kB / 0.6923 GB, free: 7.426 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1348, allocations: 0 / 0.6923 GB, free: 7.426 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1351, allocations: 55.92 kB / 0.6923 GB, free: 7.371 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.0005565/0.1356, allocations: 0.798 MB / 0.6931 GB, free: 6.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1358, allocations: 75.92 kB / 0.6932 GB, free: 6.473 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1359, allocations: 0 / 0.6932 GB, free: 6.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.612e-05/0.136, allocations: 39.97 kB / 0.6932 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.1364, allocations: 40.66 kB / 0.6933 GB, free: 6.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.137, allocations: 458.2 kB / 0.6937 GB, free: 5.906 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.1372, allocations: 0.7316 MB / 0.6944 GB, free: 5.148 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.677e-05/0.1373, allocations: 11.98 kB / 0.6944 GB, free: 5.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.1373, allocations: 43.42 kB / 0.6945 GB, free: 5.094 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1374, allocations: 0 / 0.6945 GB, free: 5.094 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.017/3.154, allocations: 3.788 MB / 0.6982 GB, free: 1.52 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.03136/3.186, allocations: 230.9 kB / 0.6984 GB, free: 1.262 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/6.184, allocations: 2.125 kB / 0.6984 GB, free: 1.262 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)