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.004331/0.004331, allocations: 100.4 kB / 15.73 MB, free: 6.473 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.001035/0.001035, allocations: 197.2 kB / 16.67 MB, free: 6.379 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 282.8 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9255/0.9255, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 100.3 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1786, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002897/0.1815, allocations: 1.706 MB / 0.7675 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008539/0.1824, allocations: 0.4986 MB / 0.768 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.1825, allocations: 4 kB / 0.768 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.1829, allocations: 151.6 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.459e-05/0.183, allocations: 55.73 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1833, allocations: 71.72 kB / 0.7683 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1834, allocations: 99.5 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.1835, allocations: 7.984 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.1836, allocations: 31.86 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.492e-05/0.1837, allocations: 55.7 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1837, allocations: 0 / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1839, allocations: 91.83 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.184, allocations: 55.86 kB / 0.7686 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.184, allocations: 63.56 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1843, allocations: 195.2 kB / 0.7689 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1843, allocations: 0 / 0.7689 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1843, allocations: 0 / 0.7689 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.1843, allocations: 0 / 0.7689 GB, free: 5.832 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.0005894/0.1849, allocations: 490.1 kB / 0.7693 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.185, allocations: 8.031 kB / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.156e-05/0.185, allocations: 34.69 kB / 0.7694 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.1851, allocations: 20.75 kB / 0.7694 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1852, allocations: 215.7 kB / 0.7696 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1852, allocations: 8.375 kB / 0.7696 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1853, allocations: 384 / 0.7696 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1854, allocations: 65.97 kB / 0.7697 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1855, allocations: 0 / 0.7697 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1855, allocations: 0 / 0.7697 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1855, allocations: 0 / 0.7697 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1857, allocations: 59.95 kB / 0.7697 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.1862, allocations: 340.8 kB / 0.7701 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1863, allocations: 58.55 kB / 0.7701 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.1864, allocations: 40.89 kB / 0.7702 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.1865, allocations: 4 kB / 0.7702 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1865, allocations: 38.56 kB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.1865, allocations: 0 / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000384/0.1869, allocations: 137.3 kB / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1869, allocations: 55.39 kB / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1872, allocations: 254.7 kB / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1872, allocations: 29.83 kB / 0.7707 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.1873, allocations: 136.1 kB / 0.7708 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.1873, allocations: 3.906 kB / 0.7708 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.1873, allocations: 13.72 kB / 0.7708 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1875, allocations: 330.8 kB / 0.7711 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.1876, allocations: 27.98 kB / 0.7711 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.1876, allocations: 31.91 kB / 0.7712 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1878, allocations: 72.81 kB / 0.7712 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1878, allocations: 0 / 0.7712 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002229/0.1881, allocations: 113.4 kB / 0.7714 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1881, allocations: 4 kB / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1881, allocations: 0 / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1881, allocations: 0 / 0.7714 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.1882, allocations: 16.03 kB / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1882, allocations: 0 / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.1883, allocations: 7.984 kB / 0.7714 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.1883, allocations: 3.938 kB / 0.7714 GB, free: 3.035 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 9.408e-05/0.1884, allocations: 142.4 kB / 0.7715 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1884, allocations: 19.72 kB / 0.7715 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.1887, allocations: 122.4 kB / 0.7717 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1887, allocations: 0 / 0.7717 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1887, allocations: 0 / 0.7717 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1887, allocations: 4 kB / 0.7717 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1889, allocations: 213.6 kB / 0.7719 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.189, allocations: 8 kB / 0.7719 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.189, allocations: 7.984 kB / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.189, allocations: 0 / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.189, allocations: 0 / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.189, allocations: 4 kB / 0.7719 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1891, allocations: 4.031 kB / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.1893, allocations: 203.2 kB / 0.7721 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.1894, allocations: 92.83 kB / 0.7722 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.1894, allocations: 0 / 0.7722 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.1895, allocations: 7.984 kB / 0.7722 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1895, allocations: 11.97 kB / 0.7722 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1896, allocations: 0 / 0.7722 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001547/0.1897, allocations: 189.9 kB / 0.7724 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.71e-07/0.1897, allocations: 0 / 0.7724 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002973/0.19, allocations: 39.94 kB / 0.7724 GB, free: 1.883 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.0006171/0.1906, allocations: 0.7591 MB / 0.7731 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.1909, allocations: 67.83 kB / 0.7732 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1909, allocations: 0 / 0.7732 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.191, allocations: 31.97 kB / 0.7732 GB, free: 1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.1914, allocations: 48.61 kB / 0.7733 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008067/0.1922, allocations: 398.3 kB / 0.7737 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3341/0.5263, allocations: 0.7324 MB / 0.7744 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.36e-05/0.5264, allocations: 12.64 kB / 0.7744 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.5265, allocations: 48.28 kB / 0.7744 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.5265, allocations: 0 / 0.7744 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.5506, allocations: 4.023 MB / 0.7784 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.856, allocations: 4.672 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)