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.001271/0.001271, allocations: 108 kB / 15.61 MB, free: 152 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.001237/0.001237, allocations: 196.2 kB / 16.53 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002434, allocations: 290.7 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 99.41 kB / 0.6065 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1431, allocations: 89.14 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002901/0.146, allocations: 1.709 MB / 0.6953 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.1467, allocations: 0.5133 MB / 0.6958 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.1468, allocations: 4 kB / 0.6958 GB, free: 2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1472, allocations: 147.3 kB / 0.6959 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.1473, allocations: 51.75 kB / 0.696 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.1475, allocations: 67.72 kB / 0.696 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1476, allocations: 99.52 kB / 0.6961 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.1477, allocations: 12.27 kB / 0.6961 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.1478, allocations: 27.91 kB / 0.6962 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.1479, allocations: 51.7 kB / 0.6962 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1479, allocations: 4 kB / 0.6962 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1481, allocations: 91.84 kB / 0.6963 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.1481, allocations: 55.8 kB / 0.6963 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.1482, allocations: 67.55 kB / 0.6964 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1485, allocations: 191.3 kB / 0.6966 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1485, allocations: 0 / 0.6966 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1485, allocations: 0 / 0.6966 GB, free: 1.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1485, allocations: 0 / 0.6966 GB, free: 1.148 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.0005965/0.1491, allocations: 480.3 kB / 0.6971 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1491, allocations: 8.031 kB / 0.6971 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.1492, allocations: 42.69 kB / 0.6971 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.1492, allocations: 16.75 kB / 0.6971 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.1494, allocations: 219.6 kB / 0.6973 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1494, allocations: 384 / 0.6973 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.1495, allocations: 8.312 kB / 0.6973 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1496, allocations: 61.98 kB / 0.6974 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1497, allocations: 0 / 0.6974 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.1497, allocations: 0 / 0.6974 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1497, allocations: 0 / 0.6974 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.1499, allocations: 67.94 kB / 0.6975 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.1503, allocations: 332.8 kB / 0.6978 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.1505, allocations: 62.55 kB / 0.6978 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.1506, allocations: 32.91 kB / 0.6979 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1506, allocations: 11.98 kB / 0.6979 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1507, allocations: 34.56 kB / 0.6979 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1507, allocations: 0 / 0.6979 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003811/0.1511, allocations: 133.4 kB / 0.698 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1511, allocations: 55.53 kB / 0.6981 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.1514, allocations: 258.7 kB / 0.6983 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1514, allocations: 29.64 kB / 0.6984 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.1515, allocations: 136 kB / 0.6985 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.1515, allocations: 3.984 kB / 0.6985 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1516, allocations: 17.72 kB / 0.6985 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1517, allocations: 326.8 kB / 0.6988 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1518, allocations: 35.97 kB / 0.6989 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-05/0.1519, allocations: 27.97 kB / 0.6989 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.1521, allocations: 68.75 kB / 0.699 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1521, allocations: 0 / 0.699 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002322/0.1523, allocations: 109.3 kB / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1524, allocations: 8.094 kB / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1524, allocations: 0 / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1524, allocations: 0 / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.1525, allocations: 11.98 kB / 0.6991 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1525, allocations: 4 kB / 0.6991 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.1526, allocations: 7.984 kB / 0.6991 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-06/0.1526, allocations: 0 / 0.6991 GB, free: 14.36 MB / 0.4981 GB 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 0.0001131/0.1527, allocations: 137.8 kB / 0.6992 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.1527, allocations: 19.81 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.153, allocations: 114.4 kB / 0.6994 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.153, allocations: 0 / 0.6994 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.153, allocations: 0 / 0.6994 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.153, allocations: 0 / 0.6994 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.1533, allocations: 229.4 kB / 0.6996 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1533, allocations: 3.984 kB / 0.6996 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.97e-05/0.1534, allocations: 11.98 kB / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1534, allocations: 4.031 kB / 0.6996 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.1534, allocations: 7.938 kB / 0.6996 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1534, allocations: 0 / 0.6996 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1534, allocations: 4 kB / 0.6996 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.1537, allocations: 195.3 kB / 0.6998 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.1538, allocations: 92.91 kB / 0.6999 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1538, allocations: 4.031 kB / 0.6999 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.1539, allocations: 4 kB / 0.6999 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1539, allocations: 11.92 kB / 0.6999 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.1539, allocations: 4 kB / 0.6999 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001652/0.1541, allocations: 185.9 kB / 0.7001 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1541, allocations: 0 / 0.7001 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002724/0.1544, allocations: 47.92 kB / 0.7001 GB, free: 13.21 MB / 0.4981 GB 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.0006563/0.155, allocations: 0.7629 MB / 0.7009 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.1553, allocations: 63.89 kB / 0.7009 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1553, allocations: 96 / 0.7009 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/0.1554, allocations: 35.97 kB / 0.701 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.1559, allocations: 45.16 kB / 0.701 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007175/0.1566, allocations: 404 kB / 0.7014 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.157, allocations: 0.7314 MB / 0.7021 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.157, allocations: 7.938 kB / 0.7021 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.1571, allocations: 47.42 kB / 0.7022 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1571, allocations: 0 / 0.7022 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.1816, allocations: 3.93 MB / 0.706 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.685, allocations: 13.98 kB / 0.706 GB, free: 7.258 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)