Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_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.001153/0.001153, allocations: 105.5 kB / 16.4 MB, free: 6.461 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.001167/0.001167, allocations: 195.9 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7217/0.7217, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 64.53 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1595, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7044/0.864, allocations: 248.9 MB / 0.8747 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03123/0.8953, allocations: 22.28 MB / 0.8965 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.8978, allocations: 55.69 kB / 0.8965 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.9017, allocations: 0.9742 MB / 0.8975 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005914/0.9077, allocations: 1.473 MB / 0.8989 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006025/0.9137, allocations: 1.926 MB / 0.9008 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005184/0.9189, allocations: 2.705 MB / 0.9034 GB, free: 6.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.9216, allocations: 1.315 MB / 0.9047 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.9253, allocations: 1.354 MB / 0.906 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.9271, allocations: 0.9105 MB / 0.9069 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003915/0.9275, allocations: 112 kB / 0.907 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004726/0.9322, allocations: 1.672 MB / 0.9087 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006307/0.9329, allocations: 378.9 kB / 0.909 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.9342, allocations: 0.6376 MB / 0.9096 GB, free: 15.73 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.9386, allocations: 2.274 MB / 0.9119 GB, free: 13.45 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.9386, allocations: 0 / 0.9119 GB, free: 13.45 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9386, allocations: 7.938 kB / 0.9119 GB, free: 13.45 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.906e-05/0.9387, allocations: 0 / 0.9119 GB, free: 13.45 MB / 0.67 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.002989/0.9417, allocations: 1.476 MB / 0.9133 GB, free: 11.92 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.9417, allocations: 8.031 kB / 0.9133 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/0.942, allocations: 143.5 kB / 0.9135 GB, free: 11.76 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.9432, allocations: 222.4 kB / 0.9137 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.9451, allocations: 0.9193 MB / 0.9146 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.9453, allocations: 188.8 kB / 0.9148 GB, free: 10.37 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.9454, allocations: 91.94 kB / 0.9148 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.947, allocations: 0.9285 MB / 0.9157 GB, free: 9.316 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.9471, allocations: 0 / 0.9157 GB, free: 9.316 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.9472, allocations: 40 kB / 0.9158 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.9472, allocations: 24 kB / 0.9158 GB, free: 9.254 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.9484, allocations: 0.6285 MB / 0.9164 GB, free: 8.629 MB / 0.67 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.005146/0.9535, allocations: 4.427 MB / 0.9207 GB, free: 3.805 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.954, allocations: 191.3 kB / 0.9209 GB, free: 3.609 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.9542, allocations: 144.8 kB / 0.9211 GB, free: 3.465 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009886/0.9552, allocations: 1.017 MB / 0.9221 GB, free: 2.227 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.9552, allocations: 34.55 kB / 0.9221 GB, free: 2.184 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/0.9552, allocations: 0 / 0.9221 GB, free: 2.184 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.001098/0.9563, allocations: 470.3 kB / 0.9225 GB, free: 1.719 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.9564, allocations: 55.41 kB / 0.9226 GB, free: 1.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.958, allocations: 1.114 MB / 0.9237 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.9581, allocations: 33.7 kB / 0.9237 GB, free: 496 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/0.9586, allocations: 0.5079 MB / 0.9242 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.248e-05/0.9587, allocations: 82.7 kB / 0.9243 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.9589, allocations: 98.03 kB / 0.9244 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.9591, allocations: 325.9 kB / 0.9247 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/0.9593, allocations: 128.8 kB / 0.9248 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.9599, allocations: 387.1 kB / 0.9252 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.9605, allocations: 467.6 kB / 0.9256 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.9606, allocations: 4 kB / 0.9256 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001207/0.9618, allocations: 0.5397 MB / 0.9262 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.9618, allocations: 11.94 kB / 0.9262 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.9618, allocations: 8 kB / 0.9262 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.9619, allocations: 12 kB / 0.9262 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.9623, allocations: 91.83 kB / 0.9263 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/0.9623, allocations: 18.38 kB / 0.9263 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.9631, allocations: 90.94 kB / 0.9264 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.9632, allocations: 31.98 kB / 0.9264 GB, free: 13.5 MB / 0.6856 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.0004875/0.9637, allocations: 285.6 kB / 0.9267 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.9639, allocations: 110.6 kB / 0.9268 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008504/0.9648, allocations: 423.4 kB / 0.9272 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.9648, allocations: 4 kB / 0.9272 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9648, allocations: 0 / 0.9272 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.9648, allocations: 3.984 kB / 0.9272 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.9677, allocations: 1.55 MB / 0.9287 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.9678, allocations: 8.062 kB / 0.9287 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.9679, allocations: 47.86 kB / 0.9288 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.968, allocations: 4.562 kB / 0.9288 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.968, allocations: 12 kB / 0.9288 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.968, allocations: 11.98 kB / 0.9288 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.495e-06/0.968, allocations: 7.938 kB / 0.9288 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/0.9688, allocations: 0.5659 MB / 0.9294 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005022/0.9693, allocations: 239.7 kB / 0.9296 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.9695, allocations: 11.94 kB / 0.9296 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.97, allocations: 15.98 kB / 0.9296 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.9701, allocations: 27.86 kB / 0.9296 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.9701, allocations: 19.98 kB / 0.9297 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001224/0.9713, allocations: 0.7783 MB / 0.9304 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.444e-06/0.9713, allocations: 0 / 0.9304 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001032/0.9724, allocations: 287.5 kB / 0.9307 GB, free: 8.883 MB / 0.6856 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.001666/0.974, allocations: 1.345 MB / 0.932 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006933/0.9747, allocations: 337.4 kB / 0.9323 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.9748, allocations: 3.938 kB / 0.9323 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.975, allocations: 142.1 kB / 0.9325 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.9774, allocations: 0.5126 MB / 0.933 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.988, allocations: 7.408 MB / 0.9402 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.9888, allocations: 1.063 MB / 0.9412 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007642/0.9896, allocations: 200.1 kB / 0.9414 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004845/0.9901, allocations: 359.3 kB / 0.9418 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of SimCode: time 1.263e-06/0.9901, allocations: 0 / 0.9418 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06104/1.051, allocations: 28.38 MB / 0.9695 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.262/10.31, allocations: 14.61 kB / 0.9695 GB, free: 0.9805 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)