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.001399/0.001399, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001595/0.001595, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7622/0.7622, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 61.08 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6527/0.8113, allocations: 248.9 MB / 0.9035 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02724/0.8385, allocations: 22.29 MB / 0.9252 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00235/0.8409, allocations: 59.62 kB / 0.9253 GB, free: 6.492 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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.003247/0.8443, allocations: 0.989 MB / 0.9263 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004949/0.8492, allocations: 1.518 MB / 0.9277 GB, free: 3.977 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005597/0.8548, allocations: 1.963 MB / 0.9297 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004261/0.8591, allocations: 2.694 MB / 0.9323 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.8614, allocations: 1.32 MB / 0.9336 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.8649, allocations: 1.37 MB / 0.9349 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.8668, allocations: 0.9144 MB / 0.9358 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003218/0.8671, allocations: 108 kB / 0.9359 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.8711, allocations: 1.687 MB / 0.9376 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005513/0.8716, allocations: 378.9 kB / 0.9379 GB, free: 9.504 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.8728, allocations: 0.6337 MB / 0.9385 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004448/0.8773, allocations: 2.286 MB / 0.9408 GB, free: 6.574 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8773, allocations: 4 kB / 0.9408 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8773, allocations: 0 / 0.9408 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.224e-05/0.8774, allocations: 0 / 0.9408 GB, free: 6.57 MB / 0.7012 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.003124/0.8805, allocations: 1.472 MB / 0.9422 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.8806, allocations: 12.03 kB / 0.9422 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.8819, allocations: 234.4 kB / 0.9424 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.8839, allocations: 0.9116 MB / 0.9433 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.8841, allocations: 188.7 kB / 0.9435 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.8843, allocations: 92 kB / 0.9436 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.8861, allocations: 0.9323 MB / 0.9445 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.8861, allocations: 0 / 0.9445 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-05/0.8862, allocations: 36 kB / 0.9445 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.8863, allocations: 20 kB / 0.9446 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.8875, allocations: 0.6285 MB / 0.9452 GB, free: 1.895 MB / 0.7012 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.005711/0.8933, allocations: 4.435 MB / 0.9495 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.8937, allocations: 186.7 kB / 0.9497 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.8939, allocations: 140.9 kB / 0.9498 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.895, allocations: 1.025 MB / 0.9508 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.8951, allocations: 42.3 kB / 0.9509 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 4.118e-06/0.8951, allocations: 7.922 kB / 0.9509 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001236/0.8963, allocations: 464.2 kB / 0.9513 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.8964, allocations: 55.41 kB / 0.9514 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.898, allocations: 1.11 MB / 0.9525 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.8981, allocations: 29.7 kB / 0.9525 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.8986, allocations: 0.5079 MB / 0.953 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.8986, allocations: 94.67 kB / 0.9531 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.8988, allocations: 94.03 kB / 0.9532 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.899, allocations: 326 kB / 0.9535 GB, free: 8.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.8992, allocations: 128.8 kB / 0.9536 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.8997, allocations: 379.1 kB / 0.954 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.9003, allocations: 475.6 kB / 0.9544 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.9003, allocations: 4 kB / 0.9544 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009318/0.9013, allocations: 0.5394 MB / 0.9549 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.9013, allocations: 11.94 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9013, allocations: 4 kB / 0.955 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.9013, allocations: 8 kB / 0.955 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/0.9017, allocations: 83.84 kB / 0.955 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.9017, allocations: 19.92 kB / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007619/0.9025, allocations: 94.94 kB / 0.9551 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.9026, allocations: 28.22 kB / 0.9552 GB, free: 6.758 MB / 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.0003898/0.903, allocations: 283.9 kB / 0.9554 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.9031, allocations: 106.7 kB / 0.9555 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007207/0.9039, allocations: 432.5 kB / 0.956 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9039, allocations: 0 / 0.956 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.9039, allocations: 0 / 0.956 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.9043, allocations: 227.8 kB / 0.9562 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.9045, allocations: 8 kB / 0.9562 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.9048, allocations: 11.98 kB / 0.9562 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.9049, allocations: 19.97 kB / 0.9562 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000531/0.9054, allocations: 360.6 kB / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000566/0.906, allocations: 0.5254 MB / 0.9571 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001772/0.9062, allocations: 115.4 kB / 0.9572 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00105/0.9072, allocations: 0.7742 MB / 0.9579 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of Backend: time 3.61e-07/0.9073, allocations: 0 / 0.9579 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002036/0.9093, allocations: 0.6887 MB / 0.9586 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004156/0.9135, allocations: 2.324 MB / 0.9609 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of Templates: time 0.03733/0.9508, allocations: 21.32 MB / 0.9817 GB, free: 11.73 MB / 0.7481 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)