Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 216.4 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002439/0.002439, allocations: 289.6 kB / 313.5 MB, free: 2.734 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.213/1.213, allocations: 180.6 MB / 0.5377 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.Examples.GasGapClosed,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.Examples.GasGapClosed,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 95.42 kB / 0.7402 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1748, allocations: 95.39 MB / 0.8334 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.00298/0.1778, allocations: 1.721 MB / 0.835 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1794, allocations: 1.024 MB / 0.836 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.1795, allocations: 0 / 0.836 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.225e-05/0.1796, allocations: 15.86 kB / 0.8361 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1797, allocations: 27.72 kB / 0.8361 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.1802, allocations: 179.7 kB / 0.8363 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1804, allocations: 99.47 kB / 0.8363 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1805, allocations: 23.92 kB / 0.8364 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1807, allocations: 51.78 kB / 0.8364 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.1808, allocations: 39.84 kB / 0.8365 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1808, allocations: 8 kB / 0.8365 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.1811, allocations: 199.8 kB / 0.8367 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.1812, allocations: 19.92 kB / 0.8367 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.1812, allocations: 27.86 kB / 0.8367 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.1815, allocations: 211.3 kB / 0.8369 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1816, allocations: 0 / 0.8369 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1816, allocations: 4 kB / 0.8369 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1816, allocations: 0 / 0.8369 GB, free: 4.711 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005291/0.1821, allocations: 357.5 kB / 0.8372 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1821, allocations: 9.344 kB / 0.8373 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.328e-05/0.1821, allocations: 8.125 kB / 0.8373 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.1822, allocations: 34.75 kB / 0.8373 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1823, allocations: 20.88 kB / 0.8373 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1825, allocations: 138.3 kB / 0.8374 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1825, allocations: 4.375 kB / 0.8375 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1826, allocations: 384 / 0.8375 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1827, allocations: 77.59 kB / 0.8375 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1827, allocations: 4 kB / 0.8375 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1828, allocations: 4 kB / 0.8375 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1828, allocations: 0 / 0.8375 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1829, allocations: 43.97 kB / 0.8376 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.1834, allocations: 295.7 kB / 0.8379 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.1835, allocations: 42.56 kB / 0.8379 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.1836, allocations: 24.88 kB / 0.8379 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.959e-05/0.1836, allocations: 16 kB / 0.8379 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1837, allocations: 34.55 kB / 0.838 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1837, allocations: 0 / 0.838 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002841/0.1839, allocations: 81.92 kB / 0.838 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.184, allocations: 63.22 kB / 0.8381 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1841, allocations: 149 kB / 0.8383 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.1841, allocations: 25.7 kB / 0.8383 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.1842, allocations: 100.1 kB / 0.8384 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.1842, allocations: 7.906 kB / 0.8384 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.1843, allocations: 21.7 kB / 0.8384 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1844, allocations: 318.8 kB / 0.8387 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.446e-05/0.1845, allocations: 19.92 kB / 0.8387 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.422e-05/0.1845, allocations: 19.97 kB / 0.8387 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.792e-05/0.1846, allocations: 36.84 kB / 0.8388 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1846, allocations: 0 / 0.8388 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001433/0.1847, allocations: 69.62 kB / 0.8388 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1848, allocations: 4 kB / 0.8388 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1848, allocations: 4 kB / 0.8389 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1848, allocations: 4 kB / 0.8389 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.718e-05/0.1849, allocations: 4 kB / 0.8389 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1849, allocations: 7.922 kB / 0.8389 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.1849, allocations: 11.94 kB / 0.8389 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1849, allocations: 3.938 kB / 0.8389 GB, free: 2.496 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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 8.318e-05/0.185, allocations: 114.5 kB / 0.839 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.185, allocations: 7.953 kB / 0.839 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.1853, allocations: 86 kB / 0.8391 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1853, allocations: 0 / 0.8391 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1853, allocations: 7.938 kB / 0.8391 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1853, allocations: 0 / 0.8391 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1854, allocations: 152.7 kB / 0.8392 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1854, allocations: 0 / 0.8392 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.1855, allocations: 11.98 kB / 0.8392 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1855, allocations: 0 / 0.8392 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1855, allocations: 0 / 0.8392 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1855, allocations: 0 / 0.8392 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1855, allocations: 7.875 kB / 0.8393 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.1857, allocations: 171.5 kB / 0.8394 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.1858, allocations: 15.94 kB / 0.8394 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1858, allocations: 0 / 0.8394 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.1859, allocations: 7.938 kB / 0.8394 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.1859, allocations: 3.938 kB / 0.8394 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1859, allocations: 4 kB / 0.8394 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.428e-05/0.186, allocations: 111.2 kB / 0.8396 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.186, allocations: 0 / 0.8396 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002919/0.1863, allocations: 67.75 kB / 0.8396 GB, free: 1.656 MB / 0.5762 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 (4): * Single equations (assignments): 4 * 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.0006817/0.187, allocations: 0.7707 MB / 0.8404 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.1871, allocations: 36.27 kB / 0.8404 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1871, allocations: 0 / 0.8404 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/0.1872, allocations: 23.92 kB / 0.8404 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1875, allocations: 21.98 kB / 0.8404 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.1891, allocations: 1.5 MB / 0.8419 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.846e-05/0.1891, allocations: 75.33 kB / 0.842 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.1892, allocations: 11.97 kB / 0.842 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.1892, allocations: 23.44 kB / 0.842 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1892, allocations: 0 / 0.842 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.213, allocations: 3.462 MB / 0.8454 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.94, allocations: 8.062 kB / 0.8454 GB, free: 11.77 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed.fmu > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.083739247987978] Failed to read output from testmodel.py, exit status != 0: 11.092949546058662 11.108288374 10.923840548 Calling exit ...