Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 179.5 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 96.81 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 9.094 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2595, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8059/1.065, allocations: 205.9 MB / 1.101 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02181/1.087, allocations: 18.9 MB / 1.12 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002646/1.09, allocations: 42.25 kB / 1.12 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003163/1.093, allocations: 0.5927 MB / 1.12 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006632/1.1, allocations: 1.486 MB / 1.122 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005112/1.105, allocations: 1.509 MB / 1.123 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004524/1.11, allocations: 1.766 MB / 1.125 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/1.111, allocations: 0.9173 MB / 1.126 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/1.114, allocations: 0.9252 MB / 1.127 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/1.115, allocations: 0.5802 MB / 1.127 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.918e-05/1.115, allocations: 36.16 kB / 1.127 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/1.117, allocations: 0.8069 MB / 1.128 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002721/1.117, allocations: 261 kB / 1.128 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000598/1.118, allocations: 265.9 kB / 1.129 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001828/1.12, allocations: 1.491 MB / 1.13 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/1.12, allocations: 0 / 1.13 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/1.12, allocations: 0 / 1.13 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.758e-05/1.12, allocations: 0 / 1.13 GB, free: 18.46 MB / 0.7136 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.001661/1.122, allocations: 1.231 MB / 1.131 GB, free: 17.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.122, allocations: 10.97 kB / 1.131 GB, free: 17.69 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/1.122, allocations: 139.7 kB / 1.131 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009829/1.123, allocations: 232.5 kB / 1.132 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/1.124, allocations: 0.8264 MB / 1.132 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001827/1.124, allocations: 192 kB / 1.133 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/1.124, allocations: 94.66 kB / 1.133 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/1.126, allocations: 0.921 MB / 1.134 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.126, allocations: 0 / 1.134 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/1.126, allocations: 40.33 kB / 1.134 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/1.126, allocations: 22.66 kB / 1.134 GB, free: 17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009555/1.127, allocations: 0.6252 MB / 1.134 GB, free: 16.99 MB / 0.7136 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.004403/1.131, allocations: 4.427 MB / 1.139 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/1.132, allocations: 188.6 kB / 1.139 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006606/1.132, allocations: 0.6658 MB / 1.139 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/1.132, allocations: 39.64 kB / 1.139 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/1.132, allocations: 0 / 1.139 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.0009873/1.133, allocations: 451.5 kB / 1.14 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.133, allocations: 63.84 kB / 1.14 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/1.135, allocations: 1.093 MB / 1.141 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/1.135, allocations: 32.33 kB / 1.141 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/1.135, allocations: 0.5094 MB / 1.142 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/1.135, allocations: 89.06 kB / 1.142 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/1.135, allocations: 12.09 kB / 1.142 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.135, allocations: 317.3 kB / 1.142 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/1.136, allocations: 126.1 kB / 1.142 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/1.136, allocations: 403.6 kB / 1.142 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/1.136, allocations: 182.1 kB / 1.143 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/1.137, allocations: 2.219 kB / 1.143 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001113/1.138, allocations: 0.5374 MB / 1.143 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/1.138, allocations: 14.84 kB / 1.143 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/1.138, allocations: 7.469 kB / 1.143 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-05/1.138, allocations: 10.34 kB / 1.143 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/1.138, allocations: 87.66 kB / 1.143 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/1.138, allocations: 16.92 kB / 1.143 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008601/1.139, allocations: 126.3 kB / 1.143 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/1.139, allocations: 27.44 kB / 1.143 GB, free: 11.71 MB / 0.7136 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.0005014/1.14, allocations: 299 kB / 1.144 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/1.14, allocations: 100.8 kB / 1.144 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/1.141, allocations: 422.3 kB / 1.144 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.141, allocations: 1.844 kB / 1.144 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.141, allocations: 4 kB / 1.144 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.141, allocations: 3.938 kB / 1.144 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/1.143, allocations: 1.524 MB / 1.146 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.143, allocations: 8.766 kB / 1.146 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/1.143, allocations: 40.7 kB / 1.146 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/1.143, allocations: 10.41 kB / 1.146 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/1.143, allocations: 6.094 kB / 1.146 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.143, allocations: 9.484 kB / 1.146 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.143, allocations: 8.375 kB / 1.146 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/1.144, allocations: 0.7896 MB / 1.147 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/1.144, allocations: 243.6 kB / 1.147 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.144, allocations: 8.531 kB / 1.147 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/1.145, allocations: 34.88 kB / 1.147 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/1.145, allocations: 30.5 kB / 1.147 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/1.145, allocations: 23.02 kB / 1.147 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009645/1.146, allocations: 0.7644 MB / 1.148 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.202e-06/1.146, allocations: 0 / 1.148 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001014/1.147, allocations: 280.8 kB / 1.148 GB, free: 9.48 MB / 0.7136 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.002088/1.149, allocations: 2.755 MB / 1.151 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006797/1.15, allocations: 322.2 kB / 1.151 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.15, allocations: 0 / 1.151 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/1.15, allocations: 142.7 kB / 1.151 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/1.152, allocations: 474.1 kB / 1.152 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.164, allocations: 10.14 MB / 1.161 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/1.165, allocations: 1.089 MB / 1.162 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00109/1.166, allocations: 192 kB / 1.163 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/1.166, allocations: 364.6 kB / 1.163 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/1.166, allocations: 0 / 1.163 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05493/1.221, allocations: 26.24 MB / 1.189 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/1.221, allocations: 242.9 kB / 1.189 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.938, allocations: 0 / 1.189 GB, free: 11.06 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)