Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.836/1.836, allocations: 288.2 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00126/0.00126, allocations: 181 kB / 371.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 0.6305 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 82.98 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004887, allocations: 15.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2566, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9273/1.184, allocations: 205.7 MB / 1.18 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02709/1.211, allocations: 18.82 MB / 1.199 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/1.214, allocations: 46.97 kB / 1.199 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002841/1.217, allocations: 0.5857 MB / 1.199 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.006655/1.223, allocations: 1.475 MB / 1.201 GB, free: 20 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005941/1.229, allocations: 1.477 MB / 1.202 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005924/1.235, allocations: 1.781 MB / 1.204 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/1.238, allocations: 0.9288 MB / 1.205 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/1.241, allocations: 0.9204 MB / 1.206 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/1.243, allocations: 0.5816 MB / 1.206 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003164/1.243, allocations: 33.75 kB / 1.206 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/1.246, allocations: 0.8069 MB / 1.207 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006203/1.247, allocations: 262.1 kB / 1.207 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009498/1.248, allocations: 263 kB / 1.208 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003856/1.252, allocations: 1.496 MB / 1.209 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.252, allocations: 0 / 1.209 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.106e-06/1.252, allocations: 0 / 1.209 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.179e-05/1.252, allocations: 0 / 1.209 GB, free: 10.62 MB / 0.7448 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.004091/1.256, allocations: 1.226 MB / 1.21 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 8.001e-05/1.256, allocations: 10.22 kB / 1.21 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005725/1.257, allocations: 142.5 kB / 1.21 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/1.259, allocations: 234 kB / 1.211 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/1.261, allocations: 0.8129 MB / 1.211 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/1.261, allocations: 187.3 kB / 1.212 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/1.262, allocations: 98.72 kB / 1.212 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/1.264, allocations: 0.9145 MB / 1.213 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/1.264, allocations: 2.531 kB / 1.213 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/1.264, allocations: 35.69 kB / 1.213 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/1.264, allocations: 20.59 kB / 1.213 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/1.265, allocations: 0.6254 MB / 1.213 GB, free: 7.633 MB / 0.7448 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.00565/1.271, allocations: 4.434 MB / 1.218 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/1.272, allocations: 193.6 kB / 1.218 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/1.272, allocations: 0.661 MB / 1.218 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.272, allocations: 42.48 kB / 1.218 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 2.855e-06/1.272, allocations: 0 / 1.218 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.001146/1.273, allocations: 456.5 kB / 1.219 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/1.274, allocations: 51.41 kB / 1.219 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.275, allocations: 1.094 MB / 1.22 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/1.275, allocations: 33.7 kB / 1.22 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/1.276, allocations: 0.5079 MB / 1.221 GB, free: 88 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/1.276, allocations: 90.7 kB / 1.221 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/1.276, allocations: 16 kB / 1.221 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001941/1.276, allocations: 322 kB / 1.221 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/1.276, allocations: 124.8 kB / 1.221 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005059/1.277, allocations: 395.6 kB / 1.221 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/1.277, allocations: 183.8 kB / 1.222 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.277, allocations: 4 kB / 1.222 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009552/1.278, allocations: 0.5357 MB / 1.222 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.278, allocations: 12.19 kB / 1.222 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.278, allocations: 11.98 kB / 1.222 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.278, allocations: 11.95 kB / 1.222 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/1.279, allocations: 95.83 kB / 1.222 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/1.279, allocations: 11.94 kB / 1.222 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000937/1.28, allocations: 127 kB / 1.222 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/1.28, allocations: 24 kB / 1.222 GB, free: 14.01 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004755/1.28, allocations: 293.5 kB / 1.223 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/1.28, allocations: 98.78 kB / 1.223 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/1.281, allocations: 412.8 kB / 1.223 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.281, allocations: 7.953 kB / 1.223 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/1.281, allocations: 4 kB / 1.223 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.281, allocations: 3.984 kB / 1.223 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/1.284, allocations: 1.52 MB / 1.225 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.284, allocations: 4 kB / 1.225 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/1.284, allocations: 39.92 kB / 1.225 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/1.284, allocations: 4 kB / 1.225 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/1.284, allocations: 15.98 kB / 1.225 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/1.284, allocations: 11.94 kB / 1.225 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.284, allocations: 11.89 kB / 1.225 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/1.285, allocations: 0.7828 MB / 1.226 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/1.285, allocations: 243.6 kB / 1.226 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.285, allocations: 19.92 kB / 1.226 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/1.286, allocations: 39.78 kB / 1.226 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/1.286, allocations: 23.97 kB / 1.226 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/1.286, allocations: 15.95 kB / 1.226 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00123/1.287, allocations: 0.7703 MB / 1.227 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.1e-07/1.287, allocations: 0 / 1.227 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001199/1.288, allocations: 279.5 kB / 1.227 GB, free: 9.125 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002593/1.291, allocations: 2.733 MB / 1.23 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000679/1.292, allocations: 317.3 kB / 1.23 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.292, allocations: 0 / 1.23 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/1.292, allocations: 144.4 kB / 1.23 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/1.294, allocations: 492.2 kB / 1.23 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.306, allocations: 10.12 MB / 1.24 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008914/1.307, allocations: 1.09 MB / 1.241 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001158/1.308, allocations: 191.7 kB / 1.242 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/1.308, allocations: 363.3 kB / 1.242 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of SimCode: time 8.92e-07/1.308, allocations: 0 / 1.242 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/1.366, allocations: 26.25 MB / 1.268 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/1.366, allocations: 246.8 kB / 1.268 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/4.01, allocations: 0 / 1.268 GB, free: 14.88 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)