Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.01084/0.01084, allocations: 171.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006052/0.0006052, allocations: 19.34 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3367, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8877/1.224, allocations: 243.4 MB / 1.026 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03274/1.257, allocations: 21.95 MB / 1.047 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/1.26, allocations: 51.34 kB / 1.047 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004693/1.265, allocations: 0.7804 MB / 1.048 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007299/1.272, allocations: 1.389 MB / 1.049 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006678/1.279, allocations: 1.777 MB / 1.051 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00597/1.285, allocations: 3.531 MB / 1.054 GB, free: 8.301 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/1.288, allocations: 1.097 MB / 1.055 GB, free: 7.645 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/1.292, allocations: 1.126 MB / 1.057 GB, free: 7.008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/1.294, allocations: 0.8612 MB / 1.057 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003122/1.294, allocations: 32.66 kB / 1.057 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/1.299, allocations: 1.865 MB / 1.059 GB, free: 5.117 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006154/1.3, allocations: 286.9 kB / 1.059 GB, free: 4.836 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/1.301, allocations: 0.5691 MB / 1.06 GB, free: 4.258 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/1.305, allocations: 2.251 MB / 1.062 GB, free: 2 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.305, allocations: 4 kB / 1.062 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.006e-06/1.305, allocations: 0 / 1.062 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.768e-05/1.305, allocations: 0 / 1.062 GB, free: 1.996 MB / 0.7637 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.002053/1.307, allocations: 1.235 MB / 1.063 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.307, allocations: 15.97 kB / 1.063 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/1.308, allocations: 230.3 kB / 1.064 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.309, allocations: 0.8454 MB / 1.065 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/1.31, allocations: 180.8 kB / 1.065 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/1.31, allocations: 96 kB / 1.065 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/1.311, allocations: 0.9362 MB / 1.066 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/1.311, allocations: 0 / 1.066 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/1.311, allocations: 36 kB / 1.066 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/1.311, allocations: 24 kB / 1.066 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/1.312, allocations: 0.6285 MB / 1.066 GB, free: 13.62 MB / 0.7794 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.004797/1.317, allocations: 4.447 MB / 1.071 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/1.318, allocations: 190.8 kB / 1.071 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/1.318, allocations: 144.7 kB / 1.071 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/1.319, allocations: 1.025 MB / 1.072 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.319, allocations: 30.56 kB / 1.072 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 2.274e-06/1.319, allocations: 4 kB / 1.072 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001075/1.32, allocations: 470.4 kB / 1.073 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/1.32, allocations: 55.41 kB / 1.073 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.321, allocations: 1.11 MB / 1.074 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/1.321, allocations: 29.7 kB / 1.074 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/1.322, allocations: 0.5118 MB / 1.074 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/1.322, allocations: 90.78 kB / 1.074 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/1.322, allocations: 37.7 kB / 1.074 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.322, allocations: 318 kB / 1.075 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.322, allocations: 132.8 kB / 1.075 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/1.323, allocations: 383.1 kB / 1.075 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/1.323, allocations: 475.5 kB / 1.076 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.323, allocations: 0 / 1.076 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008575/1.324, allocations: 0.535 MB / 1.076 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.324, allocations: 8 kB / 1.076 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.324, allocations: 11.94 kB / 1.076 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/1.324, allocations: 8 kB / 1.076 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/1.325, allocations: 91.83 kB / 1.076 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/1.325, allocations: 12.5 kB / 1.076 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/1.326, allocations: 134.9 kB / 1.076 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/1.326, allocations: 24 kB / 1.076 GB, free: 2.504 MB / 0.7794 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.0003937/1.326, allocations: 286.3 kB / 1.077 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/1.326, allocations: 106.6 kB / 1.077 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/1.327, allocations: 428.6 kB / 1.077 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.327, allocations: 4 kB / 1.077 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.327, allocations: 0 / 1.077 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.327, allocations: 0 / 1.077 GB, free: 1.676 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/1.329, allocations: 1.55 MB / 1.079 GB, free: 16 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/1.329, allocations: 7.938 kB / 1.079 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/1.329, allocations: 43.92 kB / 1.079 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/1.329, allocations: 16.16 kB / 1.079 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/1.329, allocations: 4.562 kB / 1.079 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/1.329, allocations: 8 kB / 1.079 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.329, allocations: 15.92 kB / 1.079 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/1.33, allocations: 0.5698 MB / 1.079 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/1.33, allocations: 251.6 kB / 1.08 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.33, allocations: 8 kB / 1.08 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/1.331, allocations: 31.97 kB / 1.08 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/1.331, allocations: 27.86 kB / 1.08 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/1.331, allocations: 19.98 kB / 1.08 GB, free: 14.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009887/1.332, allocations: 0.7744 MB / 1.08 GB, free: 14.15 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/1.332, allocations: 4 kB / 1.08 GB, free: 14.14 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001017/1.333, allocations: 283.5 kB / 1.081 GB, free: 13.87 MB / 0.795 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.0007144/1.334, allocations: 324.2 kB / 1.081 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006047/1.334, allocations: 331.5 kB / 1.081 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.334, allocations: 0 / 1.081 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/1.334, allocations: 142 kB / 1.081 GB, free: 13.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/1.337, allocations: 0.5217 MB / 1.082 GB, free: 12.58 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/1.34, allocations: 1.916 MB / 1.084 GB, free: 10.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/1.341, allocations: 1.071 MB / 1.085 GB, free: 9.473 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007857/1.342, allocations: 204.2 kB / 1.085 GB, free: 9.277 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/1.342, allocations: 71.44 kB / 1.085 GB, free: 9.207 MB / 0.795 GB Notification: Performance of SimCode: time 8.61e-07/1.342, allocations: 4 kB / 1.085 GB, free: 9.203 MB / 0.795 GB Notification: Performance of Templates: time 0.03632/1.378, allocations: 19.48 MB / 1.104 GB, free: 5.98 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: