Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",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.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001145/0.001145, allocations: 196.1 kB / 16.14 MB, free: 6.664 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.166/1.166, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001912/0.001912, allocations: 283 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8242/0.8242, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 95.45 kB / 0.5946 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1251, allocations: 86.98 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002545/0.1277, allocations: 1.765 MB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005989/0.1283, allocations: 0.5176 MB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.1284, allocations: 0 / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.1287, allocations: 147.7 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.1288, allocations: 51.73 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.1289, allocations: 51.88 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1291, allocations: 211.4 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.858e-05/0.1291, allocations: 7.938 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.1292, allocations: 27.86 kB / 0.6822 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.1293, allocations: 75.67 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1293, allocations: 0 / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1295, allocations: 83.86 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.421e-05/0.1295, allocations: 55.8 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/0.1296, allocations: 59.61 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1298, allocations: 183.3 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1298, allocations: 0 / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1298, allocations: 4 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1298, allocations: 0 / 0.6827 GB, free: 13.84 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.0004534/0.1303, allocations: 480 kB / 0.6831 GB, free: 13.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.1303, allocations: 12.03 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.1303, allocations: 30.75 kB / 0.6832 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.1304, allocations: 20.66 kB / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1305, allocations: 219.7 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.1305, allocations: 4.375 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.1305, allocations: 384 / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1307, allocations: 77.91 kB / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.1307, allocations: 3.938 kB / 0.6835 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.1307, allocations: 4 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1307, allocations: 0 / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1309, allocations: 55.95 kB / 0.6835 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1313, allocations: 336.8 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1314, allocations: 66.48 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.1315, allocations: 40.88 kB / 0.684 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1316, allocations: 11.98 kB / 0.684 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1316, allocations: 30.56 kB / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1316, allocations: 0 / 0.684 GB, free: 12.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003378/0.1319, allocations: 137.5 kB / 0.6841 GB, free: 12.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.132, allocations: 51.41 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.1322, allocations: 258.7 kB / 0.6844 GB, free: 11.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.1322, allocations: 25.7 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.1322, allocations: 128.1 kB / 0.6846 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1323, allocations: 11.84 kB / 0.6846 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1323, allocations: 13.72 kB / 0.6846 GB, free: 11.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.1324, allocations: 338.8 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.1325, allocations: 32 kB / 0.685 GB, free: 11.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.1326, allocations: 23.98 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.1327, allocations: 64.75 kB / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1327, allocations: 0 / 0.685 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.1329, allocations: 117.4 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.133, allocations: 8 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.133, allocations: 0 / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.763e-06/0.133, allocations: 0 / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.1331, allocations: 7.984 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.1331, allocations: 7.938 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/0.1331, allocations: 4 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1331, allocations: 0 / 0.6852 GB, free: 11.05 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.692e-05/0.1332, allocations: 143.1 kB / 0.6853 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1333, allocations: 15.81 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.1335, allocations: 114.5 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.1335, allocations: 0 / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1335, allocations: 0 / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1335, allocations: 0 / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.1337, allocations: 217.6 kB / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1337, allocations: 0 / 0.6857 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.1338, allocations: 16.02 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1338, allocations: 0 / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.1338, allocations: 0 / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1338, allocations: 0 / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1338, allocations: 7.875 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.134, allocations: 211.2 kB / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.1341, allocations: 92.92 kB / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1341, allocations: 0 / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.1342, allocations: 11.98 kB / 0.686 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.1342, allocations: 0 / 0.686 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1343, allocations: 0 / 0.686 GB, free: 10.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1344, allocations: 193.9 kB / 0.6862 GB, free: 9.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.1344, allocations: 0 / 0.6862 GB, free: 9.949 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1346, allocations: 39.88 kB / 0.6862 GB, free: 9.91 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.0005176/0.1352, allocations: 0.7707 MB / 0.687 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.1354, allocations: 63.94 kB / 0.687 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1354, allocations: 4.094 kB / 0.687 GB, free: 9.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.1355, allocations: 27.98 kB / 0.687 GB, free: 9.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1358, allocations: 41.27 kB / 0.6871 GB, free: 8.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.1364, allocations: 445.7 kB / 0.6875 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1367, allocations: 0.7316 MB / 0.6882 GB, free: 7.746 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.541e-05/0.1367, allocations: 4 kB / 0.6882 GB, free: 7.742 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.1368, allocations: 43.42 kB / 0.6883 GB, free: 7.699 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1368, allocations: 4 kB / 0.6883 GB, free: 7.695 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.727/2.864, allocations: 3.711 MB / 0.6919 GB, free: 4.164 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/2.864, allocations: 231.2 kB / 0.6921 GB, free: 3.914 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.407/10.27, allocations: 0 / 0.6921 GB, free: 3.914 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)