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.001693/0.001693, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001971/0.001971, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.402/1.402, 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/package.mo): time 0.8232/0.8232, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 62.31 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1652, 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.6833/0.8485, allocations: 249 MB / 0.9035 GB, free: 12.94 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02634/0.8749, allocations: 22.28 MB / 0.9252 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.877, allocations: 55.69 kB / 0.9253 GB, free: 6.535 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.00307/0.8801, allocations: 0.9842 MB / 0.9262 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.8843, allocations: 1.526 MB / 0.9277 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004964/0.8893, allocations: 1.964 MB / 0.9297 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003868/0.8931, allocations: 2.684 MB / 0.9323 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.8953, allocations: 1.312 MB / 0.9336 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.8982, allocations: 1.37 MB / 0.9349 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.8998, allocations: 0.9144 MB / 0.9358 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002974/0.9001, allocations: 108 kB / 0.9359 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/0.9037, allocations: 1.687 MB / 0.9375 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005233/0.9043, allocations: 378.9 kB / 0.9379 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.9054, allocations: 0.6337 MB / 0.9385 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.9096, allocations: 2.297 MB / 0.9408 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.9097, allocations: 8 kB / 0.9408 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.963e-06/0.9097, allocations: 0 / 0.9408 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.451e-05/0.9097, allocations: 0 / 0.9408 GB, free: 6.605 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.00402/0.9138, allocations: 1.509 MB / 0.9422 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.9138, allocations: 8.031 kB / 0.9423 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.9153, allocations: 235 kB / 0.9425 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.9172, allocations: 0.9241 MB / 0.9434 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.9174, allocations: 184.7 kB / 0.9436 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.9175, allocations: 96 kB / 0.9436 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.9193, allocations: 0.9285 MB / 0.9446 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.9193, allocations: 7.938 kB / 0.9446 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/0.9194, allocations: 36 kB / 0.9446 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.9194, allocations: 20 kB / 0.9446 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.9207, allocations: 0.6285 MB / 0.9452 GB, free: 1.879 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.005628/0.9263, allocations: 4.437 MB / 0.9496 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.9268, allocations: 194.7 kB / 0.9497 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.927, allocations: 136.9 kB / 0.9499 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000951/0.928, allocations: 1.028 MB / 0.9509 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.928, allocations: 42.36 kB / 0.9509 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 3.988e-06/0.928, allocations: 0 / 0.9509 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001162/0.9292, allocations: 472.7 kB / 0.9514 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.9292, allocations: 51.41 kB / 0.9514 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.9308, allocations: 1.114 MB / 0.9525 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.9309, allocations: 33.7 kB / 0.9525 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.9313, allocations: 0.5126 MB / 0.953 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.9314, allocations: 95.2 kB / 0.9531 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.9316, allocations: 90.08 kB / 0.9532 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9317, allocations: 330 kB / 0.9535 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.9319, allocations: 128.8 kB / 0.9537 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/0.9324, allocations: 383.1 kB / 0.954 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.933, allocations: 471.6 kB / 0.9545 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.933, allocations: 0 / 0.9545 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00102/0.9341, allocations: 0.5475 MB / 0.955 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.9341, allocations: 11.94 kB / 0.955 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.9341, allocations: 8 kB / 0.955 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.9341, allocations: 8 kB / 0.955 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.9345, allocations: 87.83 kB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.9345, allocations: 8 kB / 0.9551 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.9353, allocations: 107.5 kB / 0.9552 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/0.9354, allocations: 28 kB / 0.9553 GB, free: 6.715 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.0004193/0.9358, allocations: 291.8 kB / 0.9555 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.936, allocations: 107.3 kB / 0.9556 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007545/0.9368, allocations: 433.3 kB / 0.956 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.9368, allocations: 4 kB / 0.9561 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.9368, allocations: 4 kB / 0.9561 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.9372, allocations: 232.3 kB / 0.9563 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.9373, allocations: 7.938 kB / 0.9563 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.9377, allocations: 11.98 kB / 0.9563 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.9377, allocations: 15.98 kB / 0.9563 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005355/0.9383, allocations: 352.8 kB / 0.9566 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005598/0.9389, allocations: 0.5415 MB / 0.9572 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001689/0.939, allocations: 111.4 kB / 0.9573 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001036/0.9401, allocations: 0.7781 MB / 0.958 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of Backend: time 3.31e-07/0.9401, allocations: 0 / 0.958 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.9421, allocations: 0.696 MB / 0.9587 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003963/0.946, allocations: 2.334 MB / 0.961 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of Templates: time 0.03558/0.9816, allocations: 21.34 MB / 0.9818 GB, free: 11.62 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)