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.0009106/0.0009106, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009604/0.0009604, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9595/0.9595, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.001722/0.001722, allocations: 249.5 kB / 260.5 MB, free: 12.65 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.7316/0.7316, allocations: 138.4 MB / 455.5 MB, free: 29.99 MB / 410.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.362e-06/1.362e-06, allocations: 0 / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.342e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3875/0.3875, allocations: 158.6 MB / 0.7105 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007651/0.3951, allocations: 5.412 MB / 0.7157 GB, free: 48.52 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001735/0.3969, allocations: 76.31 kB / 0.7158 GB, free: 48.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.3983, allocations: 0.5645 MB / 0.7164 GB, free: 48.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002773/0.4011, allocations: 1.245 MB / 0.7176 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.4042, allocations: 1.684 MB / 0.7192 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.4072, allocations: 2.689 MB / 0.7219 GB, free: 45.74 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.4089, allocations: 1.006 MB / 0.7228 GB, free: 45.16 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.4118, allocations: 1.454 MB / 0.7243 GB, free: 44.61 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.4133, allocations: 0.8037 MB / 0.725 GB, free: 44.44 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002768/0.4136, allocations: 107.2 kB / 0.7251 GB, free: 44.44 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.416, allocations: 1.014 MB / 0.7261 GB, free: 44.2 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.4164, allocations: 403.6 kB / 0.7265 GB, free: 44 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007812/0.4172, allocations: 431.6 kB / 0.7269 GB, free: 43.85 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.4205, allocations: 1.478 MB / 0.7284 GB, free: 43.33 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4205, allocations: 2.719 kB / 0.7284 GB, free: 43.33 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4205, allocations: 0 / 0.7284 GB, free: 43.33 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.888e-05/0.4205, allocations: 0 / 0.7284 GB, free: 43.33 MB / 0.5573 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.00204/0.4225, allocations: 1.515 MB / 0.7299 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4226, allocations: 10.25 kB / 0.7299 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009723/0.4236, allocations: 334.1 kB / 0.7302 GB, free: 42.12 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.4247, allocations: 0.8811 MB / 0.731 GB, free: 41.61 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.4249, allocations: 294.7 kB / 0.7313 GB, free: 41.32 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.425, allocations: 88.41 kB / 0.7314 GB, free: 41.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.4256, allocations: 0.6393 MB / 0.732 GB, free: 40.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4256, allocations: 4 kB / 0.732 GB, free: 40.85 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.4257, allocations: 40.05 kB / 0.7321 GB, free: 40.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.4257, allocations: 21.88 kB / 0.7321 GB, free: 40.82 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.426, allocations: 241.4 kB / 0.7323 GB, free: 40.74 MB / 0.5573 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.002036/0.428, allocations: 2.85 MB / 0.7351 GB, free: 38.38 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.4282, allocations: 82.44 kB / 0.7352 GB, free: 38.32 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.4282, allocations: 49.22 kB / 0.7352 GB, free: 38.29 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.4284, allocations: 99.81 kB / 0.7353 GB, free: 38.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.4285, allocations: 40.28 kB / 0.7354 GB, free: 38.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.4285, allocations: 4 kB / 0.7354 GB, free: 38.21 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24): time 0.0004268/0.4289, allocations: 257.6 kB / 0.7356 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.4289, allocations: 57.56 kB / 0.7357 GB, free: 38.03 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.4293, allocations: 0.6482 MB / 0.7363 GB, free: 37.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.4293, allocations: 32.67 kB / 0.7363 GB, free: 37.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.4295, allocations: 0.5969 MB / 0.7369 GB, free: 37.02 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.4295, allocations: 100.7 kB / 0.737 GB, free: 36.93 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.4296, allocations: 97.89 kB / 0.7371 GB, free: 36.87 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.4297, allocations: 0.5622 MB / 0.7377 GB, free: 36.31 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.4298, allocations: 31.38 kB / 0.7377 GB, free: 36.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.43, allocations: 0.7301 MB / 0.7384 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.4302, allocations: 374.5 kB / 0.7388 GB, free: 34.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4302, allocations: 0 / 0.7388 GB, free: 34.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003469/0.4305, allocations: 352.5 kB / 0.7391 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.4305, allocations: 6.219 kB / 0.7391 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4305, allocations: 7.531 kB / 0.7391 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4305, allocations: 9.438 kB / 0.7391 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.4307, allocations: 96.48 kB / 0.7392 GB, free: 34.78 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4307, allocations: 16.47 kB / 0.7392 GB, free: 34.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.431, allocations: 47.95 kB / 0.7393 GB, free: 34.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.431, allocations: 24.83 kB / 0.7393 GB, free: 34.74 MB / 0.5573 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.0001344/0.4311, allocations: 190.1 kB / 0.7395 GB, free: 34.55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.4312, allocations: 79.88 kB / 0.7396 GB, free: 34.51 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.4315, allocations: 272 kB / 0.7398 GB, free: 34.33 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4315, allocations: 0 / 0.7398 GB, free: 34.33 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4315, allocations: 2.812 kB / 0.7398 GB, free: 34.33 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4315, allocations: 7.922 kB / 0.7398 GB, free: 34.32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.4323, allocations: 0.9693 MB / 0.7408 GB, free: 33.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.4323, allocations: 5.312 kB / 0.7408 GB, free: 33.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.617e-05/0.4324, allocations: 41.73 kB / 0.7408 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.4324, allocations: 6.156 kB / 0.7408 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4324, allocations: 7.969 kB / 0.7408 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.4324, allocations: 9.641 kB / 0.7408 GB, free: 33.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4324, allocations: 9.438 kB / 0.7408 GB, free: 33.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.4327, allocations: 0.5009 MB / 0.7413 GB, free: 32.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.4328, allocations: 117.4 kB / 0.7414 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.4328, allocations: 12 kB / 0.7415 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.4329, allocations: 2.906 kB / 0.7415 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.433, allocations: 34.22 kB / 0.7415 GB, free: 32.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.433, allocations: 11.97 kB / 0.7415 GB, free: 32.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002057/0.4332, allocations: 401.2 kB / 0.7419 GB, free: 32.63 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4332, allocations: 0 / 0.7419 GB, free: 32.63 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006847/0.4339, allocations: 314.6 kB / 0.7422 GB, free: 32.54 MB / 0.5573 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.0003293/0.4342, allocations: 244.8 kB / 0.7424 GB, free: 32.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.4345, allocations: 194.3 kB / 0.7426 GB, free: 32.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4345, allocations: 0 / 0.7426 GB, free: 32.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.199e-05/0.4345, allocations: 80.89 kB / 0.7427 GB, free: 32.25 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007241/0.4353, allocations: 272.9 kB / 0.7429 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.4369, allocations: 1.508 MB / 0.7444 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.437, allocations: 208.5 kB / 0.7446 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003146/0.4373, allocations: 104 kB / 0.7447 GB, free: 30.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.4377, allocations: 285.9 kB / 0.745 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.4377, allocations: 0 / 0.745 GB, free: 30.71 MB / 0.5573 GB Notification: Performance of Templates: time 0.01595/0.4536, allocations: 12.14 MB / 0.7568 GB, free: 24.56 MB / 0.5573 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.209772047121078]