Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001034/0.001034, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006478/0.006479, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7605/0.7605, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 12.97 kB / 0.504 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.4999, allocations: 81.57 MB / 0.5837 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7704/1.27, allocations: 243.4 MB / 0.8213 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02404/1.294, allocations: 21.99 MB / 0.8428 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/1.297, allocations: 51.59 kB / 0.8429 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002364/1.299, allocations: 0.7841 MB / 0.8436 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003746/1.303, allocations: 1.387 MB / 0.845 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005811/1.309, allocations: 1.774 MB / 0.8467 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005003/1.314, allocations: 3.542 MB / 0.8502 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/1.315, allocations: 1.079 MB / 0.8512 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/1.318, allocations: 1.135 MB / 0.8523 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/1.32, allocations: 0.8491 MB / 0.8532 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.764e-05/1.32, allocations: 35.41 kB / 0.8532 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/1.323, allocations: 1.866 MB / 0.855 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003357/1.324, allocations: 290.9 kB / 0.8553 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007231/1.324, allocations: 0.559 MB / 0.8558 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003424/1.328, allocations: 2.258 MB / 0.858 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.328, allocations: 4 kB / 0.8581 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.803e-06/1.328, allocations: 0 / 0.8581 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.023e-05/1.328, allocations: 0 / 0.8581 GB, free: 1.551 MB / 0.6387 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.001761/1.33, allocations: 1.228 MB / 0.8593 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.33, allocations: 8.969 kB / 0.8593 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009996/1.331, allocations: 236.4 kB / 0.8595 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/1.332, allocations: 0.8477 MB / 0.8603 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/1.332, allocations: 186.8 kB / 0.8605 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/1.332, allocations: 92.59 kB / 0.8606 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.333, allocations: 0.9344 MB / 0.8615 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/1.333, allocations: 0.7969 kB / 0.8615 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/1.333, allocations: 40.03 kB / 0.8615 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/1.333, allocations: 22.69 kB / 0.8616 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009213/1.334, allocations: 0.631 MB / 0.8622 GB, free: 16.11 MB / 0.6544 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.0041/1.338, allocations: 4.454 MB / 0.8665 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/1.339, allocations: 188.6 kB / 0.8667 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/1.339, allocations: 141.4 kB / 0.8668 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/1.34, allocations: 1.022 MB / 0.8678 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/1.34, allocations: 37.06 kB / 0.8679 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 2.214e-06/1.34, allocations: 0 / 0.8679 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0009447/1.341, allocations: 471.1 kB / 0.8683 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/1.341, allocations: 56.66 kB / 0.8684 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.342, allocations: 1.103 MB / 0.8694 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/1.342, allocations: 32.33 kB / 0.8695 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/1.343, allocations: 0.5105 MB / 0.87 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/1.343, allocations: 88.97 kB / 0.8701 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/1.343, allocations: 36.5 kB / 0.8701 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.343, allocations: 329.1 kB / 0.8704 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/1.343, allocations: 134.1 kB / 0.8705 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/1.343, allocations: 379.6 kB / 0.8709 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/1.344, allocations: 471.8 kB / 0.8714 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.344, allocations: 3.594 kB / 0.8714 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007691/1.345, allocations: 0.5378 MB / 0.8719 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.345, allocations: 12.47 kB / 0.8719 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.345, allocations: 5.969 kB / 0.8719 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.345, allocations: 8.594 kB / 0.8719 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/1.345, allocations: 93 kB / 0.872 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.345, allocations: 12.53 kB / 0.872 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/1.346, allocations: 127.8 kB / 0.8721 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/1.346, allocations: 26.27 kB / 0.8722 GB, free: 10.55 MB / 0.6544 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/1.346, allocations: 283.4 kB / 0.8724 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.347, allocations: 108.4 kB / 0.8725 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006231/1.347, allocations: 429.7 kB / 0.8729 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/1.347, allocations: 0 / 0.8729 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.347, allocations: 2.906 kB / 0.8729 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.347, allocations: 1.734 kB / 0.8729 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/1.349, allocations: 1.544 MB / 0.8744 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.349, allocations: 3.531 kB / 0.8745 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/1.349, allocations: 47.48 kB / 0.8745 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/1.349, allocations: 8.047 kB / 0.8745 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/1.349, allocations: 12.25 kB / 0.8745 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/1.349, allocations: 6.438 kB / 0.8745 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.349, allocations: 8.031 kB / 0.8745 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/1.35, allocations: 0.5836 MB / 0.8751 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/1.35, allocations: 244.2 kB / 0.8753 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.35, allocations: 8.406 kB / 0.8753 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/1.351, allocations: 29.42 kB / 0.8754 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/1.351, allocations: 31.16 kB / 0.8754 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/1.351, allocations: 19.59 kB / 0.8754 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001077/1.352, allocations: 0.7802 MB / 0.8762 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/1.352, allocations: 0 / 0.8762 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001098/1.353, allocations: 284.6 kB / 0.8765 GB, free: 9.172 MB / 0.6544 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.0007985/1.354, allocations: 342.2 kB / 0.8768 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005937/1.355, allocations: 332 kB / 0.8771 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.355, allocations: 0 / 0.8771 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/1.355, allocations: 138.2 kB / 0.8772 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/1.358, allocations: 0.5259 MB / 0.8777 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/1.36, allocations: 1.918 MB / 0.8796 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/1.361, allocations: 1.068 MB / 0.8807 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008241/1.362, allocations: 198.6 kB / 0.8808 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/1.362, allocations: 73.59 kB / 0.8809 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of SimCode: time 2.314e-06/1.362, allocations: 0 / 0.8809 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of Templates: time 0.03267/1.395, allocations: 19.47 MB / 0.8999 GB, free: 15.54 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)