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: translateModel(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 106.1 kB / 16.4 MB, free: 6.477 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.001459/0.001459, allocations: 197.2 kB / 17.34 MB, free: 5.75 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7738/0.7738, allocations: 115.4 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 66.44 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 76.19 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6597/0.8246, allocations: 248.9 MB / 0.8752 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02721/0.8519, allocations: 22.27 MB / 0.897 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.8542, allocations: 55.69 kB / 0.897 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.8572, allocations: 0.9742 MB / 0.898 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0046/0.8618, allocations: 1.465 MB / 0.8994 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005723/0.8675, allocations: 1.943 MB / 0.9013 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004399/0.872, allocations: 2.694 MB / 0.9039 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002342/0.8743, allocations: 1.315 MB / 0.9052 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00323/0.8776, allocations: 1.354 MB / 0.9065 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.8794, allocations: 0.9066 MB / 0.9074 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003165/0.8798, allocations: 112 kB / 0.9075 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004215/0.884, allocations: 1.679 MB / 0.9092 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006573/0.8847, allocations: 374.9 kB / 0.9095 GB, free: 148 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.886, allocations: 0.6338 MB / 0.9101 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004635/0.8907, allocations: 2.278 MB / 0.9124 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.8907, allocations: 4 kB / 0.9124 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8907, allocations: 4 kB / 0.9124 GB, free: 13.21 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.615e-05/0.8908, allocations: 0 / 0.9124 GB, free: 13.21 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.00324/0.894, allocations: 1.468 MB / 0.9138 GB, free: 11.7 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.8941, allocations: 11.97 kB / 0.9138 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.8956, allocations: 226.4 kB / 0.914 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.8976, allocations: 0.9194 MB / 0.9149 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.8978, allocations: 184.8 kB / 0.9151 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.898, allocations: 92 kB / 0.9152 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.8998, allocations: 0.9323 MB / 0.9161 GB, free: 9.234 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.8998, allocations: 3.938 kB / 0.9161 GB, free: 9.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-05/0.8999, allocations: 36 kB / 0.9161 GB, free: 9.195 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.8999, allocations: 24 kB / 0.9162 GB, free: 9.172 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.9011, allocations: 0.6285 MB / 0.9168 GB, free: 8.547 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.005489/0.9066, allocations: 4.423 MB / 0.9211 GB, free: 3.727 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.9071, allocations: 186.7 kB / 0.9213 GB, free: 3.535 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.9073, allocations: 148.8 kB / 0.9214 GB, free: 3.387 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.9083, allocations: 1.025 MB / 0.9224 GB, free: 2.141 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.9084, allocations: 34.56 kB / 0.9224 GB, free: 2.098 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/0.9084, allocations: 0 / 0.9224 GB, free: 2.098 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.001152/0.9095, allocations: 474.3 kB / 0.9229 GB, free: 1.629 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.9096, allocations: 51.41 kB / 0.9229 GB, free: 1.566 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.9111, allocations: 1.106 MB / 0.924 GB, free: 456 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.9112, allocations: 33.7 kB / 0.9241 GB, free: 416 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.9116, allocations: 0.5156 MB / 0.9246 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.9117, allocations: 86.75 kB / 0.9246 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.9119, allocations: 94.03 kB / 0.9247 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.912, allocations: 322 kB / 0.925 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.9123, allocations: 128.8 kB / 0.9252 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.9127, allocations: 385.2 kB / 0.9255 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/0.9134, allocations: 475.5 kB / 0.926 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9134, allocations: 4 kB / 0.926 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001116/0.9145, allocations: 0.5396 MB / 0.9265 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.9146, allocations: 8 kB / 0.9265 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.9146, allocations: 11.94 kB / 0.9265 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/0.9146, allocations: 8 kB / 0.9265 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.915, allocations: 91.83 kB / 0.9266 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.9151, allocations: 8 kB / 0.9266 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007975/0.9159, allocations: 102.9 kB / 0.9267 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.9159, allocations: 24 kB / 0.9268 GB, free: 13.42 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.0004335/0.9164, allocations: 289.7 kB / 0.927 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.9165, allocations: 98.78 kB / 0.9271 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007391/0.9173, allocations: 436.2 kB / 0.9275 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.9173, allocations: 4 kB / 0.9275 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9173, allocations: 0 / 0.9275 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9173, allocations: 0 / 0.9275 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.9195, allocations: 1.55 MB / 0.9291 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.9196, allocations: 4.562 kB / 0.9291 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.9197, allocations: 47.92 kB / 0.9291 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.9197, allocations: 11.94 kB / 0.9291 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.9198, allocations: 12.06 kB / 0.9291 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/0.9198, allocations: 11.94 kB / 0.9291 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.9198, allocations: 4 kB / 0.9291 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.9204, allocations: 0.5698 MB / 0.9297 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.9208, allocations: 235.7 kB / 0.9299 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.9209, allocations: 15.94 kB / 0.9299 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.9213, allocations: 23.97 kB / 0.93 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.9214, allocations: 31.8 kB / 0.93 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.9215, allocations: 15.94 kB / 0.93 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001111/0.9226, allocations: 0.7783 MB / 0.9308 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9226, allocations: 0 / 0.9308 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001099/0.9237, allocations: 287.5 kB / 0.931 GB, free: 8.793 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.000784/0.9245, allocations: 326.1 kB / 0.9314 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006497/0.9251, allocations: 341.6 kB / 0.9317 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.9252, allocations: 4 kB / 0.9317 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.9254, allocations: 141.9 kB / 0.9318 GB, free: 8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.9277, allocations: 0.5142 MB / 0.9323 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.93, allocations: 1.567 MB / 0.9339 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.9307, allocations: 1.063 MB / 0.9349 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006544/0.9314, allocations: 202.9 kB / 0.9351 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.9316, allocations: 67.44 kB / 0.9352 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of SimCode: time 1.193e-06/0.9316, allocations: 0 / 0.9352 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of Templates: time 0.03411/0.9657, allocations: 18.84 MB / 0.9536 GB, free: 1.859 MB / 0.7012 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)