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.729/2.729, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001763/0.001762, allocations: 181.1 kB / 370.8 MB, free: 10.87 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.271/2.271, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001598/0.001598, allocations: 90.92 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004945, allocations: 15.84 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2177, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.031/1.249, allocations: 205.7 MB / 1.179 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03898/1.288, allocations: 18.83 MB / 1.198 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/1.29, allocations: 43.12 kB / 1.198 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003533/1.294, allocations: 0.5897 MB / 1.198 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.007602/1.301, allocations: 1.475 MB / 1.2 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007265/1.309, allocations: 1.472 MB / 1.201 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005985/1.315, allocations: 1.766 MB / 1.203 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/1.317, allocations: 0.9362 MB / 1.204 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/1.321, allocations: 0.9248 MB / 1.205 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/1.323, allocations: 0.5865 MB / 1.205 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002819/1.324, allocations: 33.31 kB / 1.205 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/1.327, allocations: 0.8036 MB / 1.206 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006716/1.328, allocations: 261.2 kB / 1.206 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0006235/1.329, allocations: 255 kB / 1.206 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/1.332, allocations: 1.501 MB / 1.208 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.332, allocations: 0 / 1.208 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.036e-06/1.332, allocations: 0 / 1.208 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.824e-05/1.332, allocations: 0 / 1.208 GB, free: 11.55 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.002859/1.335, allocations: 1.224 MB / 1.209 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/1.335, allocations: 10.84 kB / 1.209 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000301/1.336, allocations: 142 kB / 1.209 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/1.337, allocations: 226.3 kB / 1.209 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/1.339, allocations: 0.8213 MB / 1.21 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002415/1.34, allocations: 191.6 kB / 1.21 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/1.34, allocations: 87.22 kB / 1.211 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/1.342, allocations: 0.9188 MB / 1.211 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/1.342, allocations: 0 / 1.211 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.343, allocations: 35.53 kB / 1.211 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/1.343, allocations: 21.31 kB / 1.211 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/1.345, allocations: 0.63 MB / 1.212 GB, free: 8.574 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.007995/1.353, allocations: 4.429 MB / 1.216 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/1.353, allocations: 186.7 kB / 1.217 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/1.354, allocations: 0.6688 MB / 1.217 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/1.354, allocations: 38.52 kB / 1.217 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 3.006e-06/1.354, allocations: 0 / 1.217 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.001782/1.356, allocations: 466.9 kB / 1.218 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.356, allocations: 55.41 kB / 1.218 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/1.359, allocations: 1.09 MB / 1.219 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.979e-05/1.359, allocations: 37.7 kB / 1.219 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/1.359, allocations: 0.5079 MB / 1.219 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/1.36, allocations: 94.67 kB / 1.219 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/1.36, allocations: 4 kB / 1.219 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.36, allocations: 322 kB / 1.22 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/1.36, allocations: 124.8 kB / 1.22 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/1.361, allocations: 399.5 kB / 1.22 GB, free: 212 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/1.361, allocations: 175.8 kB / 1.22 GB, free: 36 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.361, allocations: 8 kB / 1.22 GB, free: 28 kB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001734/1.363, allocations: 0.543 MB / 1.221 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.363, allocations: 15.94 kB / 1.221 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.363, allocations: 8 kB / 1.221 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/1.363, allocations: 8 kB / 1.221 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/1.364, allocations: 91.84 kB / 1.221 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.364, allocations: 15.92 kB / 1.221 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.366, allocations: 127.4 kB / 1.221 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/1.366, allocations: 23.98 kB / 1.221 GB, free: 15.19 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.0007184/1.366, allocations: 289.5 kB / 1.222 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/1.367, allocations: 102.8 kB / 1.222 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/1.368, allocations: 421.6 kB / 1.222 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.368, allocations: 0 / 1.222 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.368, allocations: 0 / 1.222 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/1.368, allocations: 0 / 1.222 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/1.372, allocations: 1.527 MB / 1.224 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.372, allocations: 4 kB / 1.224 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/1.372, allocations: 43.92 kB / 1.224 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/1.372, allocations: 8 kB / 1.224 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/1.372, allocations: 8 kB / 1.224 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/1.372, allocations: 11.95 kB / 1.224 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/1.372, allocations: 12.42 kB / 1.224 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/1.374, allocations: 0.7867 MB / 1.224 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/1.374, allocations: 239.6 kB / 1.225 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/1.375, allocations: 19.95 kB / 1.225 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000856/1.375, allocations: 35.81 kB / 1.225 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/1.376, allocations: 32.06 kB / 1.225 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.186e-05/1.376, allocations: 12 kB / 1.225 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001796/1.377, allocations: 0.7664 MB / 1.225 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.51e-07/1.377, allocations: 0 / 1.225 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001635/1.379, allocations: 279.5 kB / 1.226 GB, free: 10.31 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.003965/1.383, allocations: 2.749 MB / 1.228 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00159/1.385, allocations: 321.1 kB / 1.229 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.385, allocations: 4.062 kB / 1.229 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005979/1.385, allocations: 139.8 kB / 1.229 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006144/1.392, allocations: 471.6 kB / 1.229 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02608/1.418, allocations: 10.14 MB / 1.239 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/1.419, allocations: 1.086 MB / 1.24 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002136/1.422, allocations: 191.3 kB / 1.24 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/1.423, allocations: 363.3 kB / 1.241 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of SimCode: time 2.054e-06/1.423, allocations: 0 / 1.241 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09057/1.514, allocations: 26.25 MB / 1.266 GB, free: 412 kB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/1.514, allocations: 235.2 kB / 1.267 GB, free: 168 kB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.419/4.933, allocations: 0 / 1.267 GB, free: 168 kB / 0.7917 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)