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.001322/0.001322, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001536/0.001536, allocations: 218.2 kB / 22.26 MB, free: 5.121 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.992 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.002501/0.002501, allocations: 286.9 kB / 312.7 MB, free: 2.805 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.384/1.384, allocations: 180.6 MB / 0.5369 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.Examples.GasGapClosed,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_Examples_GasGapClosed",fmuType="me",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.002829/0.002829, allocations: 103.5 kB / 0.7395 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1844, allocations: 95.38 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.003534/0.1879, allocations: 1.772 MB / 0.8344 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1898, allocations: 1.133 MB / 0.8355 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.244e-05/0.1898, allocations: 0 / 0.8355 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.985e-05/0.1899, allocations: 15.86 kB / 0.8355 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.19, allocations: 23.77 kB / 0.8356 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.1905, allocations: 183.6 kB / 0.8357 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1907, allocations: 103.5 kB / 0.8358 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1908, allocations: 27.91 kB / 0.8359 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.191, allocations: 39.86 kB / 0.8359 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1911, allocations: 47.78 kB / 0.8359 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1911, allocations: 4 kB / 0.836 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.1914, allocations: 195.8 kB / 0.8361 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.508e-05/0.1915, allocations: 19.92 kB / 0.8362 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.1915, allocations: 39.8 kB / 0.8362 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.1919, allocations: 215.3 kB / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1919, allocations: 0 / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1919, allocations: 0 / 0.8364 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1919, allocations: 0 / 0.8364 GB, free: 4.863 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.0005503/0.1924, allocations: 349.6 kB / 0.8367 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1925, allocations: 17.28 kB / 0.8368 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.373e-05/0.1926, allocations: 34.75 kB / 0.8368 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1927, allocations: 20.88 kB / 0.8368 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1929, allocations: 138.4 kB / 0.8369 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.193, allocations: 8.375 kB / 0.8369 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.193, allocations: 384 / 0.8369 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1931, allocations: 73.73 kB / 0.837 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1932, allocations: 0 / 0.837 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1932, allocations: 8 kB / 0.837 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1932, allocations: 7.922 kB / 0.837 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1933, allocations: 39.98 kB / 0.8371 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.1939, allocations: 367.1 kB / 0.8374 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.194, allocations: 42.56 kB / 0.8375 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.1941, allocations: 20.94 kB / 0.8375 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-05/0.1941, allocations: 4 kB / 0.8375 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1942, allocations: 42.56 kB / 0.8375 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1942, allocations: 0 / 0.8375 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002836/0.1945, allocations: 89.55 kB / 0.8376 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1945, allocations: 51.52 kB / 0.8377 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1946, allocations: 152.7 kB / 0.8378 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1947, allocations: 25.7 kB / 0.8378 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.1947, allocations: 100.1 kB / 0.8379 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1947, allocations: 11.91 kB / 0.8379 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.1948, allocations: 21.7 kB / 0.838 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1949, allocations: 314.8 kB / 0.8383 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.195, allocations: 15.98 kB / 0.8383 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/0.195, allocations: 15.98 kB / 0.8383 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/0.1951, allocations: 32.84 kB / 0.8383 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1951, allocations: 0 / 0.8383 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001449/0.1953, allocations: 73.58 kB / 0.8384 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1953, allocations: 15.98 kB / 0.8384 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1953, allocations: 0 / 0.8384 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1953, allocations: 336 / 0.8384 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.1954, allocations: 8 kB / 0.8384 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1954, allocations: 3.938 kB / 0.8384 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1954, allocations: 7.922 kB / 0.8384 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1954, allocations: 4 kB / 0.8384 GB, free: 2.586 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.977e-05/0.1955, allocations: 114.5 kB / 0.8385 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1956, allocations: 7.953 kB / 0.8385 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.1958, allocations: 93.92 kB / 0.8386 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1958, allocations: 0 / 0.8386 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1958, allocations: 7.938 kB / 0.8386 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1958, allocations: 0 / 0.8386 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.196, allocations: 160.7 kB / 0.8388 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.196, allocations: 0 / 0.8388 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/0.196, allocations: 8 kB / 0.8388 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1961, allocations: 0 / 0.8388 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1961, allocations: 7.938 kB / 0.8388 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1961, allocations: 3.984 kB / 0.8388 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.1961, allocations: 7.938 kB / 0.8388 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1963, allocations: 175.4 kB / 0.839 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.1963, allocations: 3.953 kB / 0.839 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1963, allocations: 0 / 0.839 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.1964, allocations: 4 kB / 0.839 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1964, allocations: 15.86 kB / 0.839 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1964, allocations: 8 kB / 0.839 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.1965, allocations: 111.2 kB / 0.8391 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1965, allocations: 0 / 0.8391 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002978/0.1968, allocations: 59.8 kB / 0.8392 GB, free: 1.727 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.000656/0.1974, allocations: 0.7668 MB / 0.8399 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1976, allocations: 43.91 kB / 0.84 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1976, allocations: 0 / 0.84 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.623e-05/0.1977, allocations: 16 kB / 0.84 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.198, allocations: 15.92 kB / 0.84 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1996, allocations: 1.492 MB / 0.8415 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2, allocations: 0.6988 MB / 0.8421 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.2, allocations: 4.328 kB / 0.8421 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.2001, allocations: 27.42 kB / 0.8422 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.2001, allocations: 0 / 0.8422 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.2315, allocations: 3.329 MB / 0.8454 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.16, allocations: 17.48 kB / 0.8454 GB, free: 11.33 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.554889657068998] Failed to read output from testmodel.py, exit status != 0: 11.271120344055817 11.290044041 11.094687992999999 Calling exit ...