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 1.474/1.474, allocations: 287.4 MB / 302.6 MB, free: 8.352 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.0009197/0.0009197, allocations: 187.3 kB / 371.1 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 1.085/1.085, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0006529/0.0006529, allocations: 103.7 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 10.34 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4652/0.6012, allocations: 227.4 MB / 1.201 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.6195, allocations: 20.67 MB / 1.221 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.6208, allocations: 44.31 kB / 1.221 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.6224, allocations: 0.6388 MB / 1.222 GB, free: 12 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.6251, allocations: 1.161 MB / 1.223 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.6284, allocations: 1.346 MB / 1.224 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002845/0.6312, allocations: 3.071 MB / 1.227 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.6324, allocations: 1.086 MB / 1.228 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.634, allocations: 1.057 MB / 1.229 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008069/0.6348, allocations: 0.8014 MB / 1.23 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.6349, allocations: 36 kB / 1.23 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.6368, allocations: 0.9157 MB / 1.231 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002251/0.637, allocations: 279 kB / 1.231 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.6372, allocations: 261.1 kB / 1.231 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.6385, allocations: 1.57 MB / 1.233 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6385, allocations: 0 / 1.233 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6385, allocations: 0 / 1.233 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.6385, allocations: 0 / 1.233 GB, free: 6.816 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.001325/0.6398, allocations: 1.239 MB / 1.234 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.6399, allocations: 8.031 kB / 1.234 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.64, allocations: 139.5 kB / 1.234 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008218/0.6408, allocations: 234.3 kB / 1.235 GB, free: 5.141 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/0.6418, allocations: 0.8415 MB / 1.235 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.6419, allocations: 188.8 kB / 1.236 GB, free: 4.047 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.642, allocations: 95.94 kB / 1.236 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.6433, allocations: 0.9206 MB / 1.237 GB, free: 3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.6433, allocations: 4 kB / 1.237 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.6433, allocations: 36 kB / 1.237 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.6434, allocations: 23.94 kB / 1.237 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009202/0.6443, allocations: 0.6246 MB / 1.237 GB, free: 2.312 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.003377/0.6477, allocations: 4.443 MB / 1.242 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.648, allocations: 186.7 kB / 1.242 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.6481, allocations: 152.8 kB / 1.242 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007412/0.6489, allocations: 1.021 MB / 1.243 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.6489, allocations: 38.55 kB / 1.243 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.6489, allocations: 0 / 1.243 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.0007798/0.6497, allocations: 464 kB / 1.243 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.6498, allocations: 59.41 kB / 1.243 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.6509, allocations: 1.102 MB / 1.244 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.6509, allocations: 37.64 kB / 1.244 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.6512, allocations: 0.5001 MB / 1.245 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.6513, allocations: 86.83 kB / 1.245 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.6513, allocations: 8 kB / 1.245 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.6514, allocations: 321.9 kB / 1.245 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.6516, allocations: 132.8 kB / 1.245 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.6519, allocations: 387 kB / 1.246 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.6524, allocations: 463.6 kB / 1.246 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6524, allocations: 4 kB / 1.246 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007037/0.6531, allocations: 0.5354 MB / 1.247 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6531, allocations: 16.06 kB / 1.247 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.6532, allocations: 4 kB / 1.247 GB, free: 7.512 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.6532, allocations: 15.94 kB / 1.247 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.6535, allocations: 91.83 kB / 1.247 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.6535, allocations: 11.94 kB / 1.247 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.6541, allocations: 126.9 kB / 1.247 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.6542, allocations: 28 kB / 1.247 GB, free: 7.242 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.0002831/0.6545, allocations: 293.6 kB / 1.247 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/0.6546, allocations: 106.6 kB / 1.247 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.6552, allocations: 415.6 kB / 1.248 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6552, allocations: 4 kB / 1.248 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6552, allocations: 4 kB / 1.248 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.6552, allocations: 0 / 1.248 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.6569, allocations: 1.551 MB / 1.249 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6569, allocations: 4 kB / 1.249 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.6571, allocations: 47.86 kB / 1.249 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.6571, allocations: 8 kB / 1.249 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.6571, allocations: 4 kB / 1.249 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.6571, allocations: 8 kB / 1.249 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.6571, allocations: 11.92 kB / 1.249 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.6576, allocations: 0.5727 MB / 1.25 GB, free: 4.027 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.6579, allocations: 243.7 kB / 1.25 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.755e-05/0.658, allocations: 8 kB / 1.25 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.6584, allocations: 31.88 kB / 1.25 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.6584, allocations: 31.86 kB / 1.25 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.6584, allocations: 19.98 kB / 1.25 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008164/0.6592, allocations: 0.7586 MB / 1.251 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6593, allocations: 0 / 1.251 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006311/0.6599, allocations: 287.5 kB / 1.251 GB, free: 2.633 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.001026/0.6609, allocations: 1.323 MB / 1.253 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.6614, allocations: 324.5 kB / 1.253 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6614, allocations: 4.312 kB / 1.253 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.6616, allocations: 139.7 kB / 1.253 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/0.664, allocations: 0.5037 MB / 1.254 GB, free: 288 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/0.6706, allocations: 5.522 MB / 1.259 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.6711, allocations: 1.072 MB / 1.26 GB, free: 9.297 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006322/0.6718, allocations: 194.2 kB / 1.26 GB, free: 9.109 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.6722, allocations: 371.3 kB / 1.261 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of SimCode: time 3.51e-07/0.6722, allocations: 0 / 1.261 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8348/1.507, allocations: 29.23 MB / 1.289 GB, free: 11.89 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003252/1.507, allocations: 251.8 kB / 1.289 GB, free: 11.63 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/4.207, allocations: 0 / 1.289 GB, free: 11.63 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)