Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.0007584/0.0007584, allocations: 98.03 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.00438/0.00438, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001636/0.001636, allocations: 285.5 kB / 291.7 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8563/0.8563, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 14.77 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.00158/0.1263, allocations: 1.419 MB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.127, allocations: 0.5041 MB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.127, allocations: 5.219 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.1274, allocations: 147.6 kB / 0.6873 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.1274, allocations: 47.78 kB / 0.6873 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.1276, allocations: 57.06 kB / 0.6874 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1278, allocations: 207.4 kB / 0.6876 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.1279, allocations: 13.16 kB / 0.6876 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.1279, allocations: 27.86 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.987e-05/0.128, allocations: 71.69 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.128, allocations: 0.5625 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1282, allocations: 85.16 kB / 0.6877 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.1283, allocations: 55.8 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.1283, allocations: 85.33 kB / 0.6879 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1286, allocations: 195.2 kB / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1286, allocations: 0.625 kB / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1286, allocations: 0.75 kB / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1286, allocations: 0 / 0.6881 GB, free: 12.06 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.000459/0.1291, allocations: 464.4 kB / 0.6885 GB, free: 11.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1291, allocations: 8.031 kB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.1291, allocations: 39.5 kB / 0.6886 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.1292, allocations: 16.75 kB / 0.6886 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1293, allocations: 216.3 kB / 0.6888 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1293, allocations: 10.78 kB / 0.6888 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.1293, allocations: 384 / 0.6888 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1295, allocations: 69.98 kB / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.1295, allocations: 0 / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1295, allocations: 6.062 kB / 0.6889 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1295, allocations: 0 / 0.6889 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.1297, allocations: 74.25 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.1301, allocations: 333.7 kB / 0.6892 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1303, allocations: 69.17 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/0.1304, allocations: 41.67 kB / 0.6894 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.1304, allocations: 16 kB / 0.6894 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1304, allocations: 30.56 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.335e-06/0.1305, allocations: 0 / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003719/0.1308, allocations: 157.4 kB / 0.6895 GB, free: 10.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.1309, allocations: 51.41 kB / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1311, allocations: 258.7 kB / 0.6898 GB, free: 10.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1311, allocations: 25.7 kB / 0.6899 GB, free: 10.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.1312, allocations: 136.1 kB / 0.69 GB, free: 9.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.1312, allocations: 3.906 kB / 0.69 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.1312, allocations: 13.66 kB / 0.69 GB, free: 9.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1313, allocations: 334.9 kB / 0.6903 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/0.1314, allocations: 35.97 kB / 0.6904 GB, free: 9.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.78e-05/0.1315, allocations: 31.97 kB / 0.6904 GB, free: 9.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1317, allocations: 84.75 kB / 0.6905 GB, free: 9.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1317, allocations: 0 / 0.6905 GB, free: 9.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002244/0.132, allocations: 117.5 kB / 0.6906 GB, free: 9.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.132, allocations: 4 kB / 0.6906 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.132, allocations: 0 / 0.6906 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.132, allocations: 0 / 0.6906 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.1321, allocations: 11.98 kB / 0.6906 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1321, allocations: 4 kB / 0.6906 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.1322, allocations: 7.984 kB / 0.6906 GB, free: 9.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.1322, allocations: 4.031 kB / 0.6906 GB, free: 9.23 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.827e-05/0.1323, allocations: 139.1 kB / 0.6908 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.1323, allocations: 23.7 kB / 0.6908 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.1326, allocations: 130.5 kB / 0.6909 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1326, allocations: 0 / 0.6909 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1326, allocations: 0 / 0.6909 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1326, allocations: 0 / 0.6909 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.1328, allocations: 221.5 kB / 0.6911 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1328, allocations: 0 / 0.6911 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.1329, allocations: 11.98 kB / 0.6911 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1329, allocations: 3.938 kB / 0.6911 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.1329, allocations: 4 kB / 0.6911 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1329, allocations: 0 / 0.6911 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1329, allocations: 4.031 kB / 0.6911 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1332, allocations: 215.2 kB / 0.6913 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.1332, allocations: 92.83 kB / 0.6914 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1333, allocations: 4.031 kB / 0.6914 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.1333, allocations: 12 kB / 0.6914 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.1334, allocations: 11.97 kB / 0.6915 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1334, allocations: 0 / 0.6915 GB, free: 8.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.1335, allocations: 186 kB / 0.6916 GB, free: 8.094 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1336, allocations: 0 / 0.6916 GB, free: 8.094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1338, allocations: 43.92 kB / 0.6917 GB, free: 8.051 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.0005469/0.1344, allocations: 0.7785 MB / 0.6924 GB, free: 7.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1346, allocations: 75.92 kB / 0.6925 GB, free: 7.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1346, allocations: 0 / 0.6925 GB, free: 7.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.1347, allocations: 44.03 kB / 0.6925 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1351, allocations: 36.47 kB / 0.6926 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.1357, allocations: 454 kB / 0.693 GB, free: 6.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.136, allocations: 0.7394 MB / 0.6937 GB, free: 5.844 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.136, allocations: 7.984 kB / 0.6937 GB, free: 5.836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.1361, allocations: 47.42 kB / 0.6938 GB, free: 5.789 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1361, allocations: 0 / 0.6938 GB, free: 5.789 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9449/1.081, allocations: 3.625 MB / 0.6973 GB, free: 2.379 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.081, allocations: 231.7 kB / 0.6976 GB, free: 2.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.741, allocations: 3.938 kB / 0.6976 GB, free: 2.117 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)