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.00124/0.00124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00132/0.00132, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.229/1.229, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.001911, allocations: 282.8 kB / 290.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8802/0.8802, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 92.48 kB / 0.5948 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1241, allocations: 86.98 MB / 0.6797 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002643/0.1268, allocations: 1.756 MB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006376/0.1275, allocations: 0.5113 MB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.1275, allocations: 0 / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.1279, allocations: 155.7 kB / 0.6821 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.128, allocations: 51.73 kB / 0.6821 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.1282, allocations: 59.88 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.1283, allocations: 99.56 kB / 0.6823 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.1284, allocations: 7.938 kB / 0.6823 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.1284, allocations: 35.84 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.1285, allocations: 71.69 kB / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1285, allocations: 4 kB / 0.6824 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1287, allocations: 83.84 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.1288, allocations: 55.81 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.1288, allocations: 59.61 kB / 0.6826 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.129, allocations: 195.3 kB / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1291, allocations: 0 / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1291, allocations: 0 / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1291, allocations: 0 / 0.6828 GB, free: 13.85 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.0004786/0.1296, allocations: 478.3 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1296, allocations: 8.031 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.1296, allocations: 38.73 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.1297, allocations: 20.66 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1298, allocations: 215.7 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1298, allocations: 8.375 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.1298, allocations: 384 / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.13, allocations: 65.92 kB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.13, allocations: 0 / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.13, allocations: 4 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.13, allocations: 4 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1302, allocations: 55.95 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1306, allocations: 336.7 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.1307, allocations: 66.48 kB / 0.684 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.919e-05/0.1308, allocations: 36.91 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.1309, allocations: 7.984 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1309, allocations: 34.56 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1309, allocations: 0 / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003472/0.1313, allocations: 133.4 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.1313, allocations: 51.41 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1315, allocations: 258.7 kB / 0.6845 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1315, allocations: 29.64 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.1316, allocations: 136.1 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.1316, allocations: 7.844 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.1316, allocations: 17.7 kB / 0.6847 GB, free: 11.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.1317, allocations: 331 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.885e-05/0.1318, allocations: 31.97 kB / 0.6851 GB, free: 11.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.1319, allocations: 27.98 kB / 0.6851 GB, free: 11.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1321, allocations: 68.73 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1321, allocations: 0 / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.1323, allocations: 109.4 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.1323, allocations: 4 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1323, allocations: 3.984 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1323, allocations: 4 kB / 0.6853 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.1324, allocations: 15.92 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.1324, allocations: 0 / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.1325, allocations: 7.984 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1325, allocations: 0 / 0.6853 GB, free: 11.06 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.409e-05/0.1326, allocations: 143.1 kB / 0.6854 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1326, allocations: 15.81 kB / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.1329, allocations: 110.5 kB / 0.6855 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1329, allocations: 0 / 0.6855 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1329, allocations: 4 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1329, allocations: 0 / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.1331, allocations: 221.5 kB / 0.6858 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1331, allocations: 4.031 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.1331, allocations: 4 kB / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1332, allocations: 0 / 0.6858 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1332, allocations: 11.92 kB / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1332, allocations: 3.984 kB / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1332, allocations: 0 / 0.6858 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1334, allocations: 207.2 kB / 0.686 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1335, allocations: 92.92 kB / 0.6861 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1335, allocations: 3.984 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.1336, allocations: 4 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.1336, allocations: 4 kB / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.1336, allocations: 0 / 0.6861 GB, free: 10.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1338, allocations: 189.9 kB / 0.6863 GB, free: 9.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.1338, allocations: 0 / 0.6863 GB, free: 9.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.134, allocations: 43.88 kB / 0.6863 GB, free: 9.922 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.0005057/0.1345, allocations: 0.7746 MB / 0.6871 GB, free: 9.121 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1348, allocations: 63.98 kB / 0.6871 GB, free: 9.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.1348, allocations: 7.938 kB / 0.6871 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.1349, allocations: 31.97 kB / 0.6872 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.000389/0.1353, allocations: 35.2 kB / 0.6872 GB, free: 8.988 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.1359, allocations: 448 kB / 0.6876 GB, free: 8.512 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.1361, allocations: 0.7314 MB / 0.6883 GB, free: 7.754 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.1362, allocations: 4 kB / 0.6883 GB, free: 7.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.1362, allocations: 51.42 kB / 0.6884 GB, free: 7.699 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1362, allocations: 0 / 0.6884 GB, free: 7.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.695/1.831, allocations: 3.789 MB / 0.6921 GB, free: 4.117 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/1.831, allocations: 226.3 kB / 0.6923 GB, free: 3.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/4.221, allocations: 0 / 0.6923 GB, free: 3.863 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)