Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001164/0.001164, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001231/0.001231, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7798/0.7798, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.16 kB / 0.5863 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1729, allocations: 80.93 MB / 0.6653 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6893/0.8623, allocations: 249 MB / 0.9084 GB, free: 6.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02727/0.8896, allocations: 22.28 MB / 0.9302 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.8916, allocations: 55.69 kB / 0.9302 GB, free: 15.83 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:38:3-40:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:38:3-40:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:38:3-40:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:38:3-40:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.003356/0.895, allocations: 0.9921 MB / 0.9312 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.8994, allocations: 1.516 MB / 0.9327 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005066/0.9045, allocations: 1.972 MB / 0.9346 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003895/0.9084, allocations: 2.692 MB / 0.9373 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.9105, allocations: 1.331 MB / 0.9386 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002827/0.9134, allocations: 1.354 MB / 0.9399 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.9151, allocations: 0.9106 MB / 0.9408 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.9154, allocations: 108 kB / 0.9409 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/0.9192, allocations: 1.687 MB / 0.9425 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005118/0.9197, allocations: 390.8 kB / 0.9429 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.9209, allocations: 0.6299 MB / 0.9435 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.9249, allocations: 2.294 MB / 0.9457 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.925, allocations: 0 / 0.9457 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.925, allocations: 4 kB / 0.9457 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.88e-05/0.925, allocations: 0 / 0.9457 GB, free: 15.89 MB / 0.7169 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.002927/0.928, allocations: 1.472 MB / 0.9472 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.928, allocations: 9.109 kB / 0.9472 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.9292, allocations: 226.4 kB / 0.9474 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.9309, allocations: 0.9117 MB / 0.9483 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.9311, allocations: 196.7 kB / 0.9485 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.9313, allocations: 88 kB / 0.9486 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.933, allocations: 0.9324 MB / 0.9495 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.933, allocations: 0 / 0.9495 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.9331, allocations: 36 kB / 0.9495 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.9331, allocations: 20 kB / 0.9495 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.9343, allocations: 0.6401 MB / 0.9502 GB, free: 11.21 MB / 0.7169 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.004806/0.9391, allocations: 4.423 MB / 0.9545 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.9395, allocations: 190.7 kB / 0.9547 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.9397, allocations: 146.9 kB / 0.9548 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009273/0.9406, allocations: 1.017 MB / 0.9558 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.9406, allocations: 38.36 kB / 0.9558 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 2.374e-06/0.9407, allocations: 0 / 0.9558 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001087/0.9417, allocations: 479.7 kB / 0.9563 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.9418, allocations: 55.41 kB / 0.9563 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.9432, allocations: 1.106 MB / 0.9574 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.9432, allocations: 29.7 kB / 0.9574 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.9436, allocations: 0.5079 MB / 0.9579 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.9437, allocations: 86.83 kB / 0.958 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.9438, allocations: 101.9 kB / 0.9581 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.944, allocations: 322 kB / 0.9584 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.9442, allocations: 132.8 kB / 0.9586 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.9446, allocations: 379.7 kB / 0.9589 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.9452, allocations: 467.6 kB / 0.9594 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.9452, allocations: 8 kB / 0.9594 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009052/0.9461, allocations: 0.547 MB / 0.9599 GB, free: 348 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.9461, allocations: 13.81 kB / 0.9599 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.9462, allocations: 7.938 kB / 0.9599 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.9462, allocations: 8 kB / 0.9599 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.9465, allocations: 87.89 kB / 0.96 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.9466, allocations: 15.94 kB / 0.96 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006806/0.9473, allocations: 90.94 kB / 0.9601 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.9473, allocations: 27.98 kB / 0.9601 GB, free: 96 kB / 0.7169 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.0004038/0.9477, allocations: 289.7 kB / 0.9604 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.9479, allocations: 102.7 kB / 0.9605 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/0.9486, allocations: 425.8 kB / 0.9609 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9487, allocations: 0 / 0.9609 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9487, allocations: 0 / 0.9609 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.9491, allocations: 227.7 kB / 0.9611 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.9492, allocations: 16 kB / 0.9612 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.9496, allocations: 11.98 kB / 0.9612 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.9497, allocations: 11.98 kB / 0.9612 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005321/0.9502, allocations: 352.8 kB / 0.9615 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005763/0.9508, allocations: 0.5369 MB / 0.962 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001653/0.951, allocations: 111.9 kB / 0.9622 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001019/0.952, allocations: 0.7781 MB / 0.9629 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of Backend: time 2.91e-07/0.952, allocations: 0 / 0.9629 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.9541, allocations: 0.6943 MB / 0.9636 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003955/0.958, allocations: 2.303 MB / 0.9658 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.03347/0.9915, allocations: 21.33 MB / 0.9867 GB, free: 5.012 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)