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.0009432/0.0009435, allocations: 88.78 kB / 16.67 MB, free: 6.598 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.001038/0.001038, allocations: 184.1 kB / 17.58 MB, free: 6.188 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.374/1.374, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7767/0.7767, allocations: 115.5 MB / 408.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.000395, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4591, allocations: 77.51 MB / 0.5606 GB, free: 35.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6886/1.148, allocations: 243.4 MB / 0.7982 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02361/1.171, allocations: 21.99 MB / 0.8197 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002506/1.174, allocations: 46.69 kB / 0.8198 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002777/1.177, allocations: 0.7877 MB / 0.8205 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004376/1.181, allocations: 1.385 MB / 0.8219 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005059/1.186, allocations: 1.766 MB / 0.8236 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004495/1.191, allocations: 3.533 MB / 0.8271 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/1.193, allocations: 1.084 MB / 0.8281 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/1.195, allocations: 1.131 MB / 0.8292 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/1.197, allocations: 0.8486 MB / 0.8301 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001203/1.197, allocations: 34.62 kB / 0.8301 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003839/1.201, allocations: 1.874 MB / 0.8319 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00047/1.201, allocations: 286 kB / 0.8322 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001/1.202, allocations: 0.5584 MB / 0.8327 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/1.205, allocations: 1.687 MB / 0.8344 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/1.205, allocations: 0 / 0.8344 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/1.205, allocations: 0 / 0.8344 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.299e-05/1.205, allocations: 0 / 0.8344 GB, free: 15.49 MB / 0.5919 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.002026/1.207, allocations: 1.226 MB / 0.8356 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.207, allocations: 17.56 kB / 0.8356 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/1.208, allocations: 238 kB / 0.8358 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/1.209, allocations: 0.8491 MB / 0.8367 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/1.21, allocations: 189.1 kB / 0.8368 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/1.21, allocations: 93.64 kB / 0.8369 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.211, allocations: 0.9336 MB / 0.8378 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.211, allocations: 0 / 0.8378 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/1.211, allocations: 36.47 kB / 0.8379 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/1.211, allocations: 20.16 kB / 0.8379 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/1.212, allocations: 0.6298 MB / 0.8385 GB, free: 13.52 MB / 0.5919 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.004838/1.217, allocations: 4.455 MB / 0.8429 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/1.218, allocations: 185.3 kB / 0.843 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.218, allocations: 144.9 kB / 0.8432 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/1.219, allocations: 1.023 MB / 0.8442 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.219, allocations: 42.78 kB / 0.8442 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 3.106e-06/1.219, allocations: 0 / 0.8442 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.001069/1.22, allocations: 470.7 kB / 0.8447 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.22, allocations: 51.41 kB / 0.8447 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/1.221, allocations: 1.113 MB / 0.8458 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/1.221, allocations: 35.52 kB / 0.8458 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00039/1.222, allocations: 0.5079 MB / 0.8463 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/1.222, allocations: 86.73 kB / 0.8464 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/1.222, allocations: 35.23 kB / 0.8464 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.222, allocations: 324.1 kB / 0.8467 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/1.222, allocations: 123.5 kB / 0.8469 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/1.223, allocations: 390 kB / 0.8472 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/1.223, allocations: 472.6 kB / 0.8477 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/1.223, allocations: 3.312 kB / 0.8477 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008832/1.224, allocations: 0.5385 MB / 0.8482 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/1.224, allocations: 10.08 kB / 0.8482 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.224, allocations: 7.094 kB / 0.8482 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.224, allocations: 13.72 kB / 0.8482 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/1.225, allocations: 84.41 kB / 0.8483 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.225, allocations: 14.58 kB / 0.8483 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/1.226, allocations: 123.6 kB / 0.8485 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.586e-05/1.226, allocations: 29.2 kB / 0.8485 GB, free: 6.887 MB / 0.5919 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.0003864/1.226, allocations: 291.6 kB / 0.8488 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/1.226, allocations: 105.1 kB / 0.8489 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007111/1.227, allocations: 421.1 kB / 0.8493 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.227, allocations: 8.641 kB / 0.8493 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.227, allocations: 0 / 0.8493 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.227, allocations: 0 / 0.8493 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/1.229, allocations: 1.551 MB / 0.8508 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.229, allocations: 12.25 kB / 0.8508 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/1.229, allocations: 49.56 kB / 0.8509 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/1.229, allocations: 6.281 kB / 0.8509 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/1.229, allocations: 8.938 kB / 0.8509 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.229, allocations: 6.219 kB / 0.8509 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.229, allocations: 9.219 kB / 0.8509 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/1.23, allocations: 0.5731 MB / 0.8514 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/1.23, allocations: 244.5 kB / 0.8517 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.23, allocations: 8.062 kB / 0.8517 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/1.231, allocations: 34.11 kB / 0.8517 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/1.231, allocations: 34.78 kB / 0.8517 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/1.231, allocations: 13.53 kB / 0.8518 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001015/1.232, allocations: 0.7838 MB / 0.8525 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.232, allocations: 0 / 0.8525 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009813/1.233, allocations: 283.5 kB / 0.8528 GB, free: 4.887 MB / 0.5919 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.0007539/1.234, allocations: 342.2 kB / 0.8531 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006718/1.234, allocations: 334 kB / 0.8534 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.234, allocations: 0 / 0.8534 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/1.235, allocations: 140.1 kB / 0.8536 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/1.238, allocations: 0.5257 MB / 0.8541 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/1.241, allocations: 1.97 MB / 0.856 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007074/1.242, allocations: 1.068 MB / 0.8571 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/1.242, allocations: 76 kB / 0.8571 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of SimCode: time 9.41e-07/1.242, allocations: 2.734 kB / 0.8571 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of Templates: time 0.0289/1.271, allocations: 16.92 MB / 0.8737 GB, free: 2.309 MB / 0.6075 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)