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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007186/0.0007185, allocations: 91.84 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.004093/0.004093, allocations: 169.9 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.164/1.164, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.675/1.675, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004954/0.0004954, allocations: 17.94 kB / 0.6744 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1808, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5598/0.7406, allocations: 243.4 MB / 1.026 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02238/0.763, allocations: 21.96 MB / 1.047 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.7645, allocations: 44.31 kB / 1.047 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.7665, allocations: 0.7913 MB / 1.048 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.7696, allocations: 1.388 MB / 1.049 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.7735, allocations: 1.768 MB / 1.051 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003295/0.7768, allocations: 3.524 MB / 1.054 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.7781, allocations: 1.089 MB / 1.056 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.7802, allocations: 1.141 MB / 1.057 GB, free: 6.836 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009475/0.7812, allocations: 0.8416 MB / 1.057 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.7813, allocations: 33.44 kB / 1.058 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.7843, allocations: 1.872 MB / 1.059 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.7845, allocations: 286.9 kB / 1.06 GB, free: 4.688 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.7851, allocations: 0.5613 MB / 1.06 GB, free: 4.117 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.7873, allocations: 2.262 MB / 1.062 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7873, allocations: 0 / 1.062 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7874, allocations: 0 / 1.062 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.7874, allocations: 0 / 1.062 GB, free: 1.848 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.001598/0.789, allocations: 1.231 MB / 1.064 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.789, allocations: 8.031 kB / 1.064 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.7892, allocations: 143.5 kB / 1.064 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.7902, allocations: 230.3 kB / 1.064 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.7913, allocations: 0.8531 MB / 1.065 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.7915, allocations: 188.8 kB / 1.065 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.7916, allocations: 95.88 kB / 1.065 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.7931, allocations: 0.9285 MB / 1.066 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.7931, allocations: 4 kB / 1.066 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.7932, allocations: 36 kB / 1.066 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.7932, allocations: 20 kB / 1.066 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.7944, allocations: 0.6324 MB / 1.067 GB, free: 13.33 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.004387/0.7988, allocations: 4.447 MB / 1.071 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.7992, allocations: 190.7 kB / 1.071 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.7994, allocations: 144.8 kB / 1.071 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000947/0.8003, allocations: 1.021 MB / 1.072 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.8004, allocations: 34.56 kB / 1.072 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 2.334e-06/0.8004, allocations: 0 / 1.072 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.000962/0.8013, allocations: 474.4 kB / 1.073 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.8014, allocations: 59.39 kB / 1.073 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.8027, allocations: 1.106 MB / 1.074 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.8027, allocations: 33.7 kB / 1.074 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.8031, allocations: 0.5079 MB / 1.074 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.8032, allocations: 86.83 kB / 1.075 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.8033, allocations: 37.7 kB / 1.075 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.8034, allocations: 326 kB / 1.075 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.8036, allocations: 128.8 kB / 1.075 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.8041, allocations: 386.8 kB / 1.075 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.8046, allocations: 463.6 kB / 1.076 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8046, allocations: 4 kB / 1.076 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008507/0.8055, allocations: 0.539 MB / 1.076 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8055, allocations: 15.88 kB / 1.076 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.8055, allocations: 8.688 kB / 1.076 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.8056, allocations: 8 kB / 1.076 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.8059, allocations: 91.89 kB / 1.076 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.8059, allocations: 11.94 kB / 1.076 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007503/0.8067, allocations: 130.8 kB / 1.077 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.8068, allocations: 31.98 kB / 1.077 GB, free: 2.203 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.000337/0.8071, allocations: 281.6 kB / 1.077 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.8072, allocations: 110.6 kB / 1.077 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006867/0.8079, allocations: 422.7 kB / 1.077 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.808, allocations: 4 kB / 1.077 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.808, allocations: 3.938 kB / 1.077 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.808, allocations: 7.922 kB / 1.077 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.81, allocations: 1.546 MB / 1.079 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.81, allocations: 4 kB / 1.079 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.8102, allocations: 44.42 kB / 1.079 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.8102, allocations: 12 kB / 1.079 GB, free: 15.65 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.8102, allocations: 8 kB / 1.079 GB, free: 15.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.8103, allocations: 15.92 kB / 1.079 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8103, allocations: 4 kB / 1.079 GB, free: 15.62 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.8108, allocations: 0.5737 MB / 1.08 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.8111, allocations: 243.6 kB / 1.08 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.8113, allocations: 15.98 kB / 1.08 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.8117, allocations: 27.98 kB / 1.08 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.8118, allocations: 35.84 kB / 1.08 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.8118, allocations: 12.06 kB / 1.08 GB, free: 14.63 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009802/0.8128, allocations: 0.7822 MB / 1.081 GB, free: 13.84 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8128, allocations: 0 / 1.081 GB, free: 13.84 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008152/0.8136, allocations: 287.5 kB / 1.081 GB, free: 13.56 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.001311/0.815, allocations: 1.335 MB / 1.082 GB, free: 12.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005432/0.8155, allocations: 332.7 kB / 1.083 GB, free: 11.84 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8155, allocations: 4.125 kB / 1.083 GB, free: 11.83 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.8157, allocations: 143.7 kB / 1.083 GB, free: 11.69 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.8188, allocations: 0.5153 MB / 1.083 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.8292, allocations: 8.214 MB / 1.091 GB, free: 2.438 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.8299, allocations: 1.071 MB / 1.092 GB, free: 1.336 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007363/0.8306, allocations: 195.1 kB / 1.092 GB, free: 1.148 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/0.8311, allocations: 379.3 kB / 1.093 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of SimCode: time 5.71e-07/0.8311, allocations: 0 / 1.093 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05903/0.8902, allocations: 29.38 MB / 1.121 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.8904, allocations: 254.6 kB / 1.122 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.465, allocations: 0 / 1.122 GB, free: 3.555 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)