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.004446/0.004446, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001119/0.001119, allocations: 191.9 kB / 16.67 MB, free: 5.977 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002604/0.002604, allocations: 279 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9194/0.9194, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 96.33 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1745, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.003075/0.1777, allocations: 1.712 MB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007995/0.1785, allocations: 0.4985 MB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.416e-05/0.1786, allocations: 0 / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.179, allocations: 151.7 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.497e-05/0.1791, allocations: 59.67 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1794, allocations: 67.73 kB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1795, allocations: 99.55 kB / 0.7684 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.1796, allocations: 11.94 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.926e-05/0.1797, allocations: 39.78 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.1797, allocations: 47.77 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1798, allocations: 4 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.1799, allocations: 91.84 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.18, allocations: 51.86 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.1801, allocations: 63.55 kB / 0.7687 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1803, allocations: 195.3 kB / 0.7689 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1803, allocations: 3.938 kB / 0.7689 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1803, allocations: 4 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.1804, allocations: 0 / 0.7689 GB, free: 5.844 MB / 0.5606 GB 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.0005539/0.1809, allocations: 482.1 kB / 0.7693 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.181, allocations: 12.03 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.181, allocations: 34.75 kB / 0.7694 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.181, allocations: 16.75 kB / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.1812, allocations: 215.7 kB / 0.7696 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1812, allocations: 4.375 kB / 0.7696 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.1812, allocations: 384 / 0.7696 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1814, allocations: 69.97 kB / 0.7697 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1815, allocations: 0 / 0.7697 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1815, allocations: 0 / 0.7697 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1815, allocations: 0 / 0.7697 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.1817, allocations: 59.89 kB / 0.7697 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.1821, allocations: 336.8 kB / 0.7701 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1823, allocations: 58.55 kB / 0.7701 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.429e-05/0.1824, allocations: 36.89 kB / 0.7702 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.1824, allocations: 11.98 kB / 0.7702 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1825, allocations: 34.56 kB / 0.7702 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1825, allocations: 0 / 0.7702 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003824/0.1829, allocations: 141.3 kB / 0.7703 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1829, allocations: 51.41 kB / 0.7704 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1831, allocations: 258.7 kB / 0.7706 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1832, allocations: 25.7 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.1833, allocations: 132.2 kB / 0.7708 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1833, allocations: 7.906 kB / 0.7708 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.1833, allocations: 13.72 kB / 0.7708 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1835, allocations: 334.8 kB / 0.7711 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.1835, allocations: 31.91 kB / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.1836, allocations: 27.98 kB / 0.7712 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.1838, allocations: 72.75 kB / 0.7712 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1838, allocations: 0 / 0.7712 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002265/0.1841, allocations: 109.4 kB / 0.7714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1841, allocations: 10.19 kB / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1841, allocations: 0 / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1841, allocations: 0 / 0.7714 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.1842, allocations: 16.02 kB / 0.7714 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1842, allocations: 0 / 0.7714 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.1843, allocations: 4 kB / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.1843, allocations: 3.984 kB / 0.7714 GB, free: 3.059 MB / 0.5606 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.0001006/0.1844, allocations: 138.4 kB / 0.7715 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.1844, allocations: 19.72 kB / 0.7715 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.1847, allocations: 122.4 kB / 0.7717 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1847, allocations: 4 kB / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1847, allocations: 0 / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1847, allocations: 0 / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.185, allocations: 217.6 kB / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.185, allocations: 0 / 0.7719 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.1851, allocations: 11.98 kB / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1851, allocations: 0 / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1851, allocations: 0 / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1851, allocations: 0 / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1851, allocations: 0 / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1854, allocations: 211.2 kB / 0.7721 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1854, allocations: 96.83 kB / 0.7722 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1855, allocations: 0 / 0.7722 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.1855, allocations: 7.984 kB / 0.7722 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.1856, allocations: 0 / 0.7722 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1856, allocations: 4.031 kB / 0.7722 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001616/0.1858, allocations: 193.9 kB / 0.7724 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1858, allocations: 0 / 0.7724 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002531/0.186, allocations: 35.94 kB / 0.7724 GB, free: 1.914 MB / 0.5606 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.0006005/0.1866, allocations: 0.7708 MB / 0.7732 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1869, allocations: 67.88 kB / 0.7732 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1869, allocations: 4 kB / 0.7732 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.187, allocations: 27.98 kB / 0.7732 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.1874, allocations: 48.52 kB / 0.7733 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007338/0.1882, allocations: 399.9 kB / 0.7737 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3241/0.5122, allocations: 0.7293 MB / 0.7744 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.587e-05/0.5123, allocations: 10.5 kB / 0.7744 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.5124, allocations: 50.98 kB / 0.7744 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.5124, allocations: 0 / 0.7744 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.5351, allocations: 4.012 MB / 0.7784 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/7.783, allocations: 5.594 kB / 0.7784 GB, free: 13.73 MB / 0.5606 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 & /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)