Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.898/2.898, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.001311/0.001311, allocations: 184.5 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.275/2.275, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008897/0.0008898, allocations: 87.11 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006701/0.0006704, allocations: 12.09 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2239, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.03/1.254, allocations: 227.4 MB / 1.201 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.04034/1.294, allocations: 20.66 MB / 1.221 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/1.297, allocations: 47.09 kB / 1.221 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003754/1.301, allocations: 0.6382 MB / 1.221 GB, free: 112 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005651/1.306, allocations: 1.159 MB / 1.222 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006357/1.313, allocations: 1.352 MB / 1.224 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006108/1.319, allocations: 2.984 MB / 1.227 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002476/1.321, allocations: 0.9001 MB / 1.228 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003933/1.325, allocations: 1.058 MB / 1.229 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/1.328, allocations: 0.8053 MB / 1.229 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000336/1.328, allocations: 36 kB / 1.229 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/1.332, allocations: 0.9001 MB / 1.23 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007505/1.333, allocations: 283 kB / 1.231 GB, free: 9.023 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007351/1.334, allocations: 257.1 kB / 1.231 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003845/1.338, allocations: 1.574 MB / 1.232 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.338, allocations: 7.938 kB / 1.232 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.705e-06/1.338, allocations: 0 / 1.232 GB, free: 7.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.51e-05/1.338, allocations: 0 / 1.232 GB, free: 7.18 MB / 0.7605 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.003042/1.341, allocations: 1.239 MB / 1.234 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/1.341, allocations: 12.02 kB / 1.234 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003573/1.342, allocations: 151.4 kB / 1.234 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/1.343, allocations: 226.3 kB / 1.234 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/1.346, allocations: 0.8187 MB / 1.235 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/1.346, allocations: 192.8 kB / 1.235 GB, free: 4.426 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/1.346, allocations: 92 kB / 1.235 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/1.349, allocations: 0.9207 MB / 1.236 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/1.349, allocations: 7.938 kB / 1.236 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.349, allocations: 36 kB / 1.236 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/1.349, allocations: 24 kB / 1.236 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/1.351, allocations: 0.6207 MB / 1.237 GB, free: 2.695 MB / 0.7605 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.008356/1.359, allocations: 4.447 MB / 1.241 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/1.36, allocations: 182.7 kB / 1.241 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/1.36, allocations: 148.9 kB / 1.241 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001862/1.362, allocations: 1.021 MB / 1.242 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/1.362, allocations: 34.56 kB / 1.242 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=24): time 5.11e-06/1.362, allocations: 0 / 1.242 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.002093/1.365, allocations: 460.2 kB / 1.243 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/1.365, allocations: 59.41 kB / 1.243 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/1.367, allocations: 1.098 MB / 1.244 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/1.367, allocations: 29.7 kB / 1.244 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/1.368, allocations: 0.5196 MB / 1.244 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/1.368, allocations: 82.75 kB / 1.244 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/1.368, allocations: 8 kB / 1.244 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.368, allocations: 325.9 kB / 1.245 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/1.369, allocations: 128.8 kB / 1.245 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006852/1.369, allocations: 383 kB / 1.245 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005623/1.37, allocations: 191.8 kB / 1.245 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.37, allocations: 4 kB / 1.245 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001623/1.372, allocations: 0.531 MB / 1.246 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.372, allocations: 13.98 kB / 1.246 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/1.372, allocations: 11.98 kB / 1.246 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.372, allocations: 8 kB / 1.246 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/1.372, allocations: 87.84 kB / 1.246 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/1.373, allocations: 12.55 kB / 1.246 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.374, allocations: 130.9 kB / 1.246 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.374, allocations: 27.98 kB / 1.246 GB, free: 7.992 MB / 0.7761 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006811/1.375, allocations: 281.6 kB / 1.247 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/1.375, allocations: 102.7 kB / 1.247 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/1.376, allocations: 442.2 kB / 1.247 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/1.376, allocations: 7.984 kB / 1.247 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.376, allocations: 0 / 1.247 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.376, allocations: 288 / 1.247 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/1.38, allocations: 1.543 MB / 1.249 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/1.38, allocations: 4 kB / 1.249 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/1.381, allocations: 39.92 kB / 1.249 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/1.381, allocations: 4 kB / 1.249 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/1.381, allocations: 19.97 kB / 1.249 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/1.381, allocations: 12.45 kB / 1.249 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/1.381, allocations: 12.06 kB / 1.249 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.382, allocations: 0.5689 MB / 1.249 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/1.382, allocations: 239.6 kB / 1.249 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/1.383, allocations: 15.98 kB / 1.249 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008686/1.384, allocations: 39.78 kB / 1.25 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/1.384, allocations: 23.91 kB / 1.25 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/1.384, allocations: 19.95 kB / 1.25 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001816/1.386, allocations: 0.7625 MB / 1.25 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.01e-07/1.386, allocations: 4 kB / 1.25 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00153/1.387, allocations: 287.5 kB / 1.251 GB, free: 3.371 MB / 0.7761 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.002182/1.389, allocations: 1.299 MB / 1.252 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001101/1.391, allocations: 328.2 kB / 1.252 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.391, allocations: 0 / 1.252 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003761/1.391, allocations: 145.2 kB / 1.252 GB, free: 1.535 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00441/1.395, allocations: 494.4 kB / 1.253 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/1.41, allocations: 5.526 MB / 1.258 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009017/1.411, allocations: 1.059 MB / 1.259 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001341/1.413, allocations: 199.7 kB / 1.259 GB, free: 9.883 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007786/1.414, allocations: 371.2 kB / 1.26 GB, free: 9.523 MB / 0.7917 GB Notification: Performance of SimCode: time 1.512e-06/1.414, allocations: 0 / 1.26 GB, free: 9.523 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09403/1.508, allocations: 26.48 MB / 1.286 GB, free: 15.39 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004089/1.508, allocations: 263.9 kB / 1.286 GB, free: 15.11 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.602/5.11, allocations: 0 / 1.286 GB, free: 15.11 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)