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.001029/0.001029, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 287 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8511/0.8511, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 99.06 kB / 0.5953 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1211, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002469/0.1236, allocations: 1.705 MB / 0.6819 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1247, allocations: 0.9892 MB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.1248, allocations: 7.938 kB / 0.6829 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.1251, allocations: 149.7 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.1252, allocations: 55.67 kB / 0.6831 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1255, allocations: 111.6 kB / 0.6832 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1256, allocations: 95.52 kB / 0.6833 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.1256, allocations: 8.609 kB / 0.6833 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.1257, allocations: 41.52 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.1258, allocations: 51.75 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1258, allocations: 4 kB / 0.6834 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.126, allocations: 143.7 kB / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.1261, allocations: 51.86 kB / 0.6836 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.1262, allocations: 64.44 kB / 0.6837 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.1264, allocations: 239.2 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1265, allocations: 0.7188 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1265, allocations: 0 / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1265, allocations: 1.312 kB / 0.6839 GB, free: 12.86 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.0004763/0.127, allocations: 498.1 kB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.127, allocations: 8.781 kB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.127, allocations: 34.75 kB / 0.6844 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.1271, allocations: 17.38 kB / 0.6844 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1272, allocations: 227.6 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-06/0.1272, allocations: 384 / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.1272, allocations: 4.375 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1274, allocations: 73.53 kB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.1274, allocations: 0 / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.1274, allocations: 0 / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1274, allocations: 3.938 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.1276, allocations: 59.95 kB / 0.6848 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.128, allocations: 332.8 kB / 0.6851 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.1281, allocations: 58.55 kB / 0.6852 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.1282, allocations: 40.83 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.1283, allocations: 15.98 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.1283, allocations: 34.56 kB / 0.6852 GB, free: 11.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1283, allocations: 0 / 0.6852 GB, free: 11.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.00036/0.1287, allocations: 141.3 kB / 0.6854 GB, free: 11.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.1287, allocations: 51.41 kB / 0.6854 GB, free: 11.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1289, allocations: 258.7 kB / 0.6857 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1289, allocations: 33.77 kB / 0.6857 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.129, allocations: 132.1 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.129, allocations: 7.906 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.129, allocations: 13.7 kB / 0.6859 GB, free: 10.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.1291, allocations: 334.8 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.1292, allocations: 35.91 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.1293, allocations: 23.98 kB / 0.6862 GB, free: 10.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1295, allocations: 72.86 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1295, allocations: 0 / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002098/0.1297, allocations: 101.5 kB / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.1297, allocations: 4 kB / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1297, allocations: 0 / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.1297, allocations: 4.031 kB / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.1298, allocations: 11.98 kB / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.1298, allocations: 0 / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.1299, allocations: 7.984 kB / 0.6864 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1299, allocations: 3.938 kB / 0.6864 GB, free: 10.04 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.189e-05/0.13, allocations: 139.1 kB / 0.6866 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.13, allocations: 19.72 kB / 0.6866 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.1303, allocations: 118.5 kB / 0.6867 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1303, allocations: 4 kB / 0.6867 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1303, allocations: 0 / 0.6867 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1303, allocations: 0 / 0.6867 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.1305, allocations: 221.5 kB / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1305, allocations: 0 / 0.6869 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.1306, allocations: 4 kB / 0.6869 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1306, allocations: 4 kB / 0.6869 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1306, allocations: 3.984 kB / 0.6869 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.1306, allocations: 12.02 kB / 0.6869 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1306, allocations: 0 / 0.6869 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1308, allocations: 199.2 kB / 0.6871 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.1309, allocations: 96.77 kB / 0.6872 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1309, allocations: 11.98 kB / 0.6872 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.131, allocations: 4.031 kB / 0.6872 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.131, allocations: 7.984 kB / 0.6872 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.1311, allocations: 0 / 0.6872 GB, free: 9.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1312, allocations: 193.9 kB / 0.6874 GB, free: 8.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1312, allocations: 0 / 0.6874 GB, free: 8.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1315, allocations: 55.92 kB / 0.6875 GB, free: 8.867 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.00056/0.132, allocations: 0.7902 MB / 0.6882 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1323, allocations: 59.95 kB / 0.6883 GB, free: 7.992 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1323, allocations: 0 / 0.6883 GB, free: 7.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.753e-05/0.1324, allocations: 35.97 kB / 0.6883 GB, free: 7.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1328, allocations: 46.44 kB / 0.6884 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.1334, allocations: 415.9 kB / 0.6888 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1337, allocations: 0.7353 MB / 0.6895 GB, free: 6.707 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.82e-05/0.1337, allocations: 4 kB / 0.6895 GB, free: 6.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.1338, allocations: 51.42 kB / 0.6895 GB, free: 6.652 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1338, allocations: 0 / 0.6895 GB, free: 6.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3593/0.4931, allocations: 4.081 MB / 0.6935 GB, free: 2.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.341, allocations: 15 kB / 0.6935 GB, free: 2.723 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)