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.001059/0.001059, allocations: 98.03 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.0113/0.0113, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4132/0.4132, allocations: 55 MB / 325.7 MB, free: 0.582 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.0005377/0.0005377, allocations: 12.56 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4303, allocations: 60.72 MB / 458 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6016/1.032, allocations: 243.4 MB / 0.685 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02209/1.054, allocations: 21.19 MB / 0.7057 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/1.056, allocations: 45.31 kB / 0.7057 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00321/1.059, allocations: 0.8999 MB / 0.7066 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004706/1.064, allocations: 1.241 MB / 0.7078 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006138/1.07, allocations: 1.891 MB / 0.7096 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005704/1.076, allocations: 4.268 MB / 0.7138 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/1.078, allocations: 1.186 MB / 0.715 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/1.081, allocations: 1.376 MB / 0.7163 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/1.082, allocations: 1.045 MB / 0.7173 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/1.082, allocations: 44.84 kB / 0.7174 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/1.085, allocations: 1.495 MB / 0.7188 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000356/1.085, allocations: 380.4 kB / 0.7192 GB, free: 452 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007397/1.086, allocations: 0.6931 MB / 0.7199 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002922/1.089, allocations: 2.595 MB / 0.7224 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.089, allocations: 0 / 0.7224 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.784e-06/1.089, allocations: 0 / 0.7224 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.816e-05/1.089, allocations: 0 / 0.7224 GB, free: 15.34 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.002154/1.091, allocations: 1.353 MB / 0.7237 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.091, allocations: 9.312 kB / 0.7237 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/1.092, allocations: 238.4 kB / 0.724 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/1.094, allocations: 0.9198 MB / 0.7249 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/1.094, allocations: 199.1 kB / 0.7251 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/1.094, allocations: 111.4 kB / 0.7252 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/1.096, allocations: 1.227 MB / 0.7264 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/1.096, allocations: 2.531 kB / 0.7264 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.096, allocations: 51.53 kB / 0.7264 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/1.096, allocations: 26.91 kB / 0.7264 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/1.097, allocations: 0.8252 MB / 0.7272 GB, free: 13.16 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.00601/1.103, allocations: 5.735 MB / 0.7328 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/1.104, allocations: 166.3 kB / 0.733 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/1.104, allocations: 112.9 kB / 0.7331 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004813/1.104, allocations: 0.5114 MB / 0.7336 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/1.104, allocations: 35.22 kB / 0.7336 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/1.105, allocations: 0 / 0.7336 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20): time 0.0007487/1.105, allocations: 439.7 kB / 0.7341 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/1.105, allocations: 106 kB / 0.7342 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/1.107, allocations: 1.311 MB / 0.7354 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/1.107, allocations: 36.64 kB / 0.7355 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/1.107, allocations: 0.6319 MB / 0.7361 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.175e-05/1.107, allocations: 80.97 kB / 0.7362 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/1.107, allocations: 48.11 kB / 0.7362 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.107, allocations: 325.4 kB / 0.7365 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/1.108, allocations: 162.3 kB / 0.7367 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/1.108, allocations: 0.5084 MB / 0.7372 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/1.109, allocations: 0.6145 MB / 0.7378 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.109, allocations: 3.219 kB / 0.7378 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009403/1.11, allocations: 0.6966 MB / 0.7385 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.11, allocations: 12.97 kB / 0.7385 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.11, allocations: 11.44 kB / 0.7385 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.11, allocations: 13 kB / 0.7385 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/1.11, allocations: 127.9 kB / 0.7386 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.576e-05/1.11, allocations: 24.73 kB / 0.7386 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.111, allocations: 156.4 kB / 0.7388 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/1.111, allocations: 39.84 kB / 0.7388 GB, free: 5.754 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004564/1.112, allocations: 326.2 kB / 0.7391 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/1.112, allocations: 117.2 kB / 0.7393 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/1.113, allocations: 370.5 kB / 0.7396 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.113, allocations: 7.375 kB / 0.7396 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.113, allocations: 3.938 kB / 0.7396 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.113, allocations: 192 / 0.7396 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/1.114, allocations: 1.613 MB / 0.7412 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.114, allocations: 8.344 kB / 0.7412 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/1.115, allocations: 28.73 kB / 0.7412 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.115, allocations: 12.61 kB / 0.7412 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/1.115, allocations: 6.938 kB / 0.7413 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.115, allocations: 4.531 kB / 0.7413 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.115, allocations: 11.56 kB / 0.7413 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005869/1.115, allocations: 450.3 kB / 0.7417 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/1.116, allocations: 274.8 kB / 0.742 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/1.116, allocations: 15.05 kB / 0.742 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/1.116, allocations: 40.22 kB / 0.742 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/1.116, allocations: 24.62 kB / 0.742 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/1.117, allocations: 6.719 kB / 0.742 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001137/1.118, allocations: 0.9485 MB / 0.743 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.118, allocations: 4 kB / 0.743 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009904/1.119, allocations: 330.2 kB / 0.7433 GB, free: 3.785 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 (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.0006457/1.119, allocations: 292 kB / 0.7436 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006364/1.12, allocations: 382.6 kB / 0.7439 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.12, allocations: 0 / 0.7439 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/1.12, allocations: 109 kB / 0.744 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/1.124, allocations: 0.6614 MB / 0.7447 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/1.126, allocations: 2.1 MB / 0.7467 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006855/1.127, allocations: 1.102 MB / 0.7478 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009958/1.128, allocations: 241.8 kB / 0.748 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/1.128, allocations: 83.44 kB / 0.7481 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/1.128, allocations: 0 / 0.7481 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.03992/1.168, allocations: 23.26 MB / 0.7708 GB, free: 8.219 MB / 0.545 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: