Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0008504/0.0008503, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001158/0.001159, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4486/0.4486, allocations: 55.02 MB / 325.4 MB, free: 0.6562 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005889/0.000589, allocations: 16 kB / 396.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4582, allocations: 60.72 MB / 457.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7211/1.179, allocations: 227.4 MB / 0.6688 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02609/1.206, allocations: 19.94 MB / 0.6882 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/1.208, allocations: 49.59 kB / 0.6883 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00346/1.212, allocations: 0.7147 MB / 0.689 GB, free: 5.383 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005151/1.217, allocations: 1.103 MB / 0.6901 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006672/1.223, allocations: 1.409 MB / 0.6914 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008739/1.232, allocations: 3.611 MB / 0.695 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/1.235, allocations: 1.004 MB / 0.6959 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004835/1.24, allocations: 1.306 MB / 0.6972 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/1.244, allocations: 0.9949 MB / 0.6982 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003998/1.244, allocations: 44.66 kB / 0.6982 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/1.248, allocations: 0.7128 MB / 0.6989 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007704/1.249, allocations: 368.7 kB / 0.6993 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/1.251, allocations: 319.6 kB / 0.6996 GB, free: 21.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/1.254, allocations: 1.932 MB / 0.7015 GB, free: 20.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.254, allocations: 0 / 0.7015 GB, free: 20.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/1.254, allocations: 0 / 0.7015 GB, free: 20.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.559e-05/1.254, allocations: 1.25 kB / 0.7015 GB, free: 20.98 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003161/1.257, allocations: 1.362 MB / 0.7028 GB, free: 20.17 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.258, allocations: 8.594 kB / 0.7028 GB, free: 20.17 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/1.259, allocations: 243.3 kB / 0.703 GB, free: 20.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/1.261, allocations: 0.8934 MB / 0.7039 GB, free: 19.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/1.261, allocations: 200 kB / 0.7041 GB, free: 19.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/1.261, allocations: 108.9 kB / 0.7042 GB, free: 19.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/1.263, allocations: 1.218 MB / 0.7054 GB, free: 19.47 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.263, allocations: 0 / 0.7054 GB, free: 19.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/1.263, allocations: 53.64 kB / 0.7054 GB, free: 19.47 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/1.263, allocations: 29.16 kB / 0.7055 GB, free: 19.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/1.265, allocations: 0.819 MB / 0.7063 GB, free: 19.46 MB / 0.5137 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.007215/1.272, allocations: 5.734 MB / 0.7119 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/1.272, allocations: 162.2 kB / 0.712 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/1.273, allocations: 110.6 kB / 0.7121 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/1.273, allocations: 0.5149 MB / 0.7126 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/1.273, allocations: 42.42 kB / 0.7127 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 2.455e-06/1.273, allocations: 0 / 0.7127 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0009837/1.274, allocations: 424.1 kB / 0.7131 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/1.274, allocations: 109.4 kB / 0.7132 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/1.276, allocations: 1.305 MB / 0.7145 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/1.276, allocations: 35.92 kB / 0.7145 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/1.276, allocations: 0.6223 MB / 0.7151 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/1.276, allocations: 76.67 kB / 0.7152 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/1.276, allocations: 12.78 kB / 0.7152 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.277, allocations: 332.7 kB / 0.7155 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/1.277, allocations: 160.4 kB / 0.7157 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/1.277, allocations: 0.4986 MB / 0.7161 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/1.278, allocations: 251.1 kB / 0.7164 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.278, allocations: 2.406 kB / 0.7164 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001218/1.279, allocations: 0.7074 MB / 0.7171 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/1.279, allocations: 10.59 kB / 0.7171 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/1.279, allocations: 10.22 kB / 0.7171 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/1.279, allocations: 14.03 kB / 0.7171 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/1.28, allocations: 127.2 kB / 0.7172 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/1.28, allocations: 22.52 kB / 0.7173 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.281, allocations: 161.6 kB / 0.7174 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/1.281, allocations: 35.7 kB / 0.7174 GB, free: 12.85 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005085/1.281, allocations: 322.1 kB / 0.7177 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/1.282, allocations: 119.4 kB / 0.7179 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005927/1.282, allocations: 379.3 kB / 0.7182 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.282, allocations: 0 / 0.7182 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.282, allocations: 0 / 0.7182 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.282, allocations: 0 / 0.7182 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/1.284, allocations: 1.602 MB / 0.7198 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.284, allocations: 3.219 kB / 0.7198 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/1.284, allocations: 38.23 kB / 0.7198 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/1.284, allocations: 3.375 kB / 0.7198 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/1.284, allocations: 9.062 kB / 0.7198 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/1.284, allocations: 4.875 kB / 0.7198 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/1.284, allocations: 9.125 kB / 0.7199 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/1.285, allocations: 441 kB / 0.7203 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/1.285, allocations: 272.8 kB / 0.7205 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/1.285, allocations: 8.156 kB / 0.7205 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/1.286, allocations: 46.17 kB / 0.7206 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/1.286, allocations: 23.72 kB / 0.7206 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/1.286, allocations: 6.844 kB / 0.7206 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001153/1.287, allocations: 0.9112 MB / 0.7215 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/1.287, allocations: 0 / 0.7215 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001231/1.288, allocations: 333.5 kB / 0.7218 GB, free: 10.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00058/1.289, allocations: 264.6 kB / 0.7221 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006664/1.29, allocations: 375.7 kB / 0.7224 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.29, allocations: 3.188 kB / 0.7224 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/1.29, allocations: 103.6 kB / 0.7225 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.292, allocations: 0.5771 MB / 0.7231 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/1.295, allocations: 1.985 MB / 0.725 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007426/1.296, allocations: 1.103 MB / 0.7261 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001043/1.297, allocations: 233.4 kB / 0.7263 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/1.297, allocations: 76.77 kB / 0.7264 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/1.297, allocations: 0 / 0.7264 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of Templates: time 0.03853/1.336, allocations: 19.86 MB / 0.7458 GB, free: 8.941 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: