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.0008421/0.0008422, 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.004793/0.004793, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.171/1.171, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001635/0.001635, allocations: 274.8 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8638/0.8638, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 17.84 kB / 0.5988 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 88.55 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.001519/0.1265, allocations: 1.416 MB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000633/0.1271, allocations: 0.5088 MB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.1271, allocations: 3.938 kB / 0.6871 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1275, allocations: 151.7 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.1275, allocations: 44.92 kB / 0.6873 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.1277, allocations: 51.88 kB / 0.6873 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1279, allocations: 211.4 kB / 0.6876 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.1279, allocations: 5.281 kB / 0.6876 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.128, allocations: 35.78 kB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.1281, allocations: 65.66 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1281, allocations: 3.938 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1283, allocations: 87.84 kB / 0.6877 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.1283, allocations: 55.8 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.1284, allocations: 81.33 kB / 0.6879 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1286, allocations: 196.1 kB / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1286, allocations: 0 / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1286, allocations: 0 / 0.6881 GB, free: 12.06 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1286, allocations: 3.406 kB / 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.0004439/0.1291, allocations: 462.5 kB / 0.6885 GB, free: 11.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1291, allocations: 8.031 kB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.1291, allocations: 34.75 kB / 0.6885 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-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.000127/0.1293, allocations: 224.2 kB / 0.6888 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.1293, allocations: 2.812 kB / 0.6888 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.1293, allocations: 384 / 0.6888 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1295, allocations: 69.98 kB / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1295, allocations: 4 kB / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.1295, allocations: 0.75 kB / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1295, allocations: 0 / 0.6888 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.1297, allocations: 74.34 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1301, allocations: 335.7 kB / 0.6892 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1303, allocations: 69.05 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/0.1304, allocations: 40.89 kB / 0.6893 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1304, allocations: 12.88 kB / 0.6894 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.1304, allocations: 35.12 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1304, allocations: 1.062 kB / 0.6894 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003715/0.1308, allocations: 155 kB / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.1309, allocations: 51.41 kB / 0.6896 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.1311, allocations: 258.7 kB / 0.6898 GB, free: 10.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1311, allocations: 25.7 kB / 0.6899 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.1312, allocations: 136.1 kB / 0.69 GB, free: 9.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.1312, allocations: 3.906 kB / 0.69 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.1312, allocations: 13.66 kB / 0.69 GB, free: 9.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.1313, allocations: 334.9 kB / 0.6903 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.1314, allocations: 35.97 kB / 0.6904 GB, free: 9.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/0.1315, allocations: 35.97 kB / 0.6904 GB, free: 9.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.1317, allocations: 80.75 kB / 0.6905 GB, free: 9.387 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1317, allocations: 0 / 0.6905 GB, free: 9.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002268/0.1319, allocations: 117.5 kB / 0.6906 GB, free: 9.266 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.132, allocations: 5.875 kB / 0.6906 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.132, allocations: 0 / 0.6906 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.132, allocations: 3.984 kB / 0.6906 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.1321, allocations: 19.92 kB / 0.6906 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.1321, allocations: 0 / 0.6906 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.1321, allocations: 7.984 kB / 0.6906 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1322, allocations: 8.016 kB / 0.6906 GB, free: 9.223 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 9.183e-05/0.1323, allocations: 139.1 kB / 0.6908 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.1323, allocations: 19.72 kB / 0.6908 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.1326, allocations: 134.4 kB / 0.6909 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1326, allocations: 0 / 0.6909 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1326, allocations: 4 kB / 0.6909 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1326, allocations: 0 / 0.6909 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.1328, allocations: 217.5 kB / 0.6911 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1328, allocations: 0 / 0.6911 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.1328, allocations: 15.98 kB / 0.6911 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1329, allocations: 4 kB / 0.6911 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1329, allocations: 0 / 0.6911 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1329, allocations: 32 / 0.6911 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1329, allocations: 4 kB / 0.6911 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1331, allocations: 211.2 kB / 0.6913 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.1332, allocations: 100.8 kB / 0.6914 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1332, allocations: 0 / 0.6914 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.001e-05/0.1333, allocations: 4 kB / 0.6914 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1333, allocations: 11.98 kB / 0.6915 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1334, allocations: 0 / 0.6915 GB, free: 8.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1335, allocations: 182 kB / 0.6916 GB, free: 8.098 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1335, allocations: 4 kB / 0.6916 GB, free: 8.094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002471/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.0005298/0.1343, allocations: 0.7747 MB / 0.6924 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1345, allocations: 75.92 kB / 0.6925 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1345, allocations: 0 / 0.6925 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1346, allocations: 44.03 kB / 0.6925 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.135, allocations: 29.28 kB / 0.6926 GB, free: 7.105 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.1357, allocations: 464.1 kB / 0.693 GB, free: 6.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1359, allocations: 0.7316 MB / 0.6937 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.1359, allocations: 4 kB / 0.6937 GB, free: 5.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.136, allocations: 47.42 kB / 0.6938 GB, free: 5.805 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.136, allocations: 0 / 0.6938 GB, free: 5.805 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.716/2.852, allocations: 3.636 MB / 0.6973 GB, free: 2.379 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/2.853, allocations: 229.5 kB / 0.6975 GB, free: 2.121 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/9.824, allocations: 0 / 0.6975 GB, free: 2.121 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)