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.001086/0.001086, allocations: 108 kB / 15.61 MB, free: 148 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.001027/0.001027, allocations: 197.1 kB / 16.53 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.233/1.233, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 279.2 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8653/0.8653, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.00171, allocations: 101.4 kB / 0.5953 GB, free: 27.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1385, allocations: 86.97 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002743/0.1413, allocations: 1.692 MB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007354/0.1421, allocations: 0.5126 MB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.1421, allocations: 0 / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.1425, allocations: 148.2 kB / 0.6826 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.1426, allocations: 60.31 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1429, allocations: 65.52 kB / 0.6827 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.143, allocations: 103.5 kB / 0.6828 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.1431, allocations: 11.92 kB / 0.6828 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.1431, allocations: 27.86 kB / 0.6828 GB, free: 14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.1432, allocations: 56.28 kB / 0.6829 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1433, allocations: 4.719 kB / 0.6829 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1434, allocations: 83.91 kB / 0.683 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.1435, allocations: 56.67 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.1436, allocations: 67.5 kB / 0.6831 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1439, allocations: 192 kB / 0.6833 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1439, allocations: 0 / 0.6833 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1439, allocations: 1.344 kB / 0.6833 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1439, allocations: 0 / 0.6833 GB, free: 13.55 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.0005245/0.1444, allocations: 479 kB / 0.6837 GB, free: 13.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1445, allocations: 8.031 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.1445, allocations: 34.75 kB / 0.6838 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.1445, allocations: 20.66 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1447, allocations: 215.7 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1447, allocations: 384 / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.1447, allocations: 4.375 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1449, allocations: 69.92 kB / 0.6841 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1449, allocations: 3.984 kB / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1449, allocations: 0 / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.145, allocations: 0 / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.1451, allocations: 67.95 kB / 0.6841 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.1456, allocations: 332.7 kB / 0.6845 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1458, allocations: 62.55 kB / 0.6845 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1459, allocations: 40.84 kB / 0.6846 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.1459, allocations: 7.984 kB / 0.6846 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1459, allocations: 38.56 kB / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.146, allocations: 0 / 0.6846 GB, free: 12.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003849/0.1463, allocations: 129.4 kB / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.1464, allocations: 55.53 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.1466, allocations: 258.6 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1466, allocations: 25.7 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.1467, allocations: 132.1 kB / 0.6852 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1467, allocations: 7.906 kB / 0.6852 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.1468, allocations: 17.7 kB / 0.6852 GB, free: 11.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1469, allocations: 326.8 kB / 0.6855 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.147, allocations: 39.91 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.1471, allocations: 23.98 kB / 0.6856 GB, free: 10.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1473, allocations: 72.73 kB / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1473, allocations: 0 / 0.6856 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002161/0.1475, allocations: 105.4 kB / 0.6857 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1475, allocations: 12.03 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1475, allocations: 0 / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1475, allocations: 0 / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.1476, allocations: 11.98 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1476, allocations: 0 / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.1477, allocations: 7.984 kB / 0.6858 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.1477, allocations: 3.938 kB / 0.6858 GB, free: 10.76 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.257e-05/0.1478, allocations: 139.1 kB / 0.6859 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.1479, allocations: 19.81 kB / 0.6859 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.1481, allocations: 114.5 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1481, allocations: 0 / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1481, allocations: 0 / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1482, allocations: 0 / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1484, allocations: 221.5 kB / 0.6862 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1484, allocations: 4 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-05/0.1484, allocations: 4 kB / 0.6863 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1484, allocations: 8.016 kB / 0.6863 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1485, allocations: 0 / 0.6863 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1485, allocations: 0 / 0.6863 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1485, allocations: 4 kB / 0.6863 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1487, allocations: 203.1 kB / 0.6865 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.1488, allocations: 92.91 kB / 0.6865 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1488, allocations: 4.031 kB / 0.6865 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.1489, allocations: 8 kB / 0.6866 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.1489, allocations: 3.984 kB / 0.6866 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.149, allocations: 11.94 kB / 0.6866 GB, free: 9.836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1491, allocations: 186 kB / 0.6867 GB, free: 9.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1491, allocations: 0 / 0.6867 GB, free: 9.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1494, allocations: 43.92 kB / 0.6868 GB, free: 9.613 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.0005967/0.15, allocations: 0.7706 MB / 0.6875 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1502, allocations: 59.95 kB / 0.6876 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1502, allocations: 0 / 0.6876 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.1503, allocations: 36.06 kB / 0.6876 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.1508, allocations: 47.05 kB / 0.6877 GB, free: 8.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/0.1515, allocations: 404 kB / 0.6881 GB, free: 8.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1517, allocations: 0.7353 MB / 0.6888 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.1518, allocations: 7.984 kB / 0.6888 GB, free: 7.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.1519, allocations: 43.42 kB / 0.6888 GB, free: 7.434 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1519, allocations: 0 / 0.6888 GB, free: 7.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06789/0.2198, allocations: 3.929 MB / 0.6927 GB, free: 3.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.572, allocations: 10.28 kB / 0.6927 GB, free: 3.66 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)