Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.0008473/0.0008473, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009884/0.0009884, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9891/0.9891, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.001676/0.001676, allocations: 241.8 kB / 260.5 MB, free: 12.69 MB / 250.7 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 0.7185/0.7185, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.136e-05, allocations: 5 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1638/0.1638, allocations: 160.8 MB / 0.6085 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007649/0.1715, allocations: 5.518 MB / 0.6139 GB, free: 12.08 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1725, allocations: 75.31 kB / 0.614 GB, free: 12 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.1736, allocations: 0.574 MB / 0.6145 GB, free: 11.43 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.1761, allocations: 1.252 MB / 0.6158 GB, free: 10.17 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.1788, allocations: 1.676 MB / 0.6174 GB, free: 8.488 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.1814, allocations: 2.694 MB / 0.62 GB, free: 5.793 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1826, allocations: 0.9943 MB / 0.621 GB, free: 4.758 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.1845, allocations: 1.442 MB / 0.6224 GB, free: 3.312 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007812/0.1853, allocations: 0.7765 MB / 0.6232 GB, free: 2.535 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.1854, allocations: 108 kB / 0.6233 GB, free: 2.43 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.1868, allocations: 0.9972 MB / 0.6242 GB, free: 1.43 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.187, allocations: 410.6 kB / 0.6246 GB, free: 1.027 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.1874, allocations: 431.1 kB / 0.625 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.1888, allocations: 1.476 MB / 0.6265 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1888, allocations: 4 kB / 0.6265 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1888, allocations: 0 / 0.6265 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.1888, allocations: 0 / 0.6265 GB, free: 15.12 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001257/0.1901, allocations: 1.37 MB / 0.6278 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1901, allocations: 12.73 kB / 0.6278 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006182/0.1908, allocations: 295.4 kB / 0.6281 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.1916, allocations: 0.7115 MB / 0.6288 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.1917, allocations: 292.1 kB / 0.6291 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/0.1921, allocations: 88 kB / 0.6292 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.1926, allocations: 0.6349 MB / 0.6298 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1927, allocations: 0 / 0.6298 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.1927, allocations: 36 kB / 0.6298 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.1927, allocations: 25.08 kB / 0.6299 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.193, allocations: 235.2 kB / 0.6301 GB, free: 11.29 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.195, allocations: 2.173 MB / 0.6322 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1951, allocations: 108.1 kB / 0.6323 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.714e-05/0.1952, allocations: 56.25 kB / 0.6324 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.1954, allocations: 95.94 kB / 0.6324 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1954, allocations: 33.61 kB / 0.6325 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.1954, allocations: 0 / 0.6325 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of matching and sorting (n=24): time 0.000467/0.1959, allocations: 204.4 kB / 0.6327 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.1959, allocations: 55.39 kB / 0.6327 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.1964, allocations: 0.5778 MB / 0.6333 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.1965, allocations: 33.7 kB / 0.6333 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.1967, allocations: 465.4 kB / 0.6338 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.1968, allocations: 83.25 kB / 0.6338 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1969, allocations: 98.06 kB / 0.6339 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1971, allocations: 382.6 kB / 0.6343 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.1972, allocations: 40.44 kB / 0.6343 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.1975, allocations: 0.6322 MB / 0.635 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.1977, allocations: 313 kB / 0.6353 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1977, allocations: 4 kB / 0.6353 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003331/0.1981, allocations: 290 kB / 0.6355 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1981, allocations: 8 kB / 0.6355 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1981, allocations: 4.562 kB / 0.6356 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1981, allocations: 12 kB / 0.6356 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.1983, allocations: 91.83 kB / 0.6357 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.1983, allocations: 19.86 kB / 0.6357 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.1985, allocations: 52.16 kB / 0.6357 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.1986, allocations: 20 kB / 0.6357 GB, free: 5.07 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0001585/0.1987, allocations: 148.7 kB / 0.6359 GB, free: 4.914 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.1992, allocations: 52.55 kB / 0.6359 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.1995, allocations: 232.7 kB / 0.6362 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1995, allocations: 4 kB / 0.6362 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1995, allocations: 0.875 kB / 0.6362 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1995, allocations: 3.938 kB / 0.6362 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009865/0.2005, allocations: 0.9288 MB / 0.6371 GB, free: 3.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.2005, allocations: 4.562 kB / 0.6371 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.2006, allocations: 39.92 kB / 0.6371 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.2006, allocations: 11.38 kB / 0.6371 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.2006, allocations: 12 kB / 0.6371 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2006, allocations: 4 kB / 0.6371 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.2006, allocations: 7.938 kB / 0.6371 GB, free: 3.516 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.2009, allocations: 452.1 kB / 0.6376 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.2011, allocations: 103.4 kB / 0.6377 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.2011, allocations: 15.94 kB / 0.6377 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.2012, allocations: 8 kB / 0.6377 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.2013, allocations: 31.84 kB / 0.6377 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2013, allocations: 16 kB / 0.6377 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001954/0.2015, allocations: 276.5 kB / 0.638 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.2015, allocations: 0 / 0.638 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005096/0.202, allocations: 315 kB / 0.6383 GB, free: 2.238 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003146/0.2023, allocations: 222.1 kB / 0.6385 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.2025, allocations: 175.9 kB / 0.6387 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.2025, allocations: 11.94 kB / 0.6387 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.715e-05/0.2026, allocations: 73.08 kB / 0.6388 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.2033, allocations: 285.5 kB / 0.639 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2049, allocations: 1.466 MB / 0.6405 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.205, allocations: 209.7 kB / 0.6407 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002595/0.2053, allocations: 106.4 kB / 0.6408 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.2056, allocations: 239.1 kB / 0.641 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.2056, allocations: 0 / 0.641 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.01517/0.2208, allocations: 12.13 MB / 0.6528 GB, free: 3.703 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.06946754315868]