Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001386/0.001386, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 193.4 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 283.1 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 178.6 MB / 0.5072 GB, free: 4.613 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 100.6 kB / 0.6064 GB, free: 24.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1615, allocations: 89.14 MB / 0.6935 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5616/0.7231, allocations: 248.9 MB / 0.9366 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02792/0.7511, allocations: 22.28 MB / 0.9584 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.753, allocations: 55.69 kB / 0.9584 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002819/0.7559, allocations: 0.9742 MB / 0.9594 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.7604, allocations: 1.468 MB / 0.9608 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005252/0.7657, allocations: 1.926 MB / 0.9627 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004276/0.7699, allocations: 2.692 MB / 0.9653 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.7722, allocations: 1.323 MB / 0.9666 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/0.7757, allocations: 1.331 MB / 0.9679 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.7778, allocations: 0.9105 MB / 0.9688 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003337/0.7781, allocations: 111.9 kB / 0.9689 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.7821, allocations: 1.668 MB / 0.9705 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000652/0.7828, allocations: 378.8 kB / 0.9709 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.7842, allocations: 0.6376 MB / 0.9715 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005189/0.7894, allocations: 2.232 MB / 0.9737 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7894, allocations: 0 / 0.9737 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7894, allocations: 0 / 0.9737 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.168e-05/0.7895, allocations: 0 / 0.9737 GB, free: 12.35 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.003603/0.7931, allocations: 1.469 MB / 0.9751 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.7932, allocations: 8.031 kB / 0.9751 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.7946, allocations: 230.4 kB / 0.9754 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.7964, allocations: 0.857 MB / 0.9762 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.7967, allocations: 180.8 kB / 0.9764 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.7969, allocations: 96 kB / 0.9765 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.7992, allocations: 0.9323 MB / 0.9774 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.7992, allocations: 0 / 0.9774 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-05/0.7993, allocations: 36 kB / 0.9774 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.7993, allocations: 24 kB / 0.9774 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.8009, allocations: 0.6324 MB / 0.978 GB, free: 7.742 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.0068/0.8077, allocations: 4.462 MB / 0.9824 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.8082, allocations: 190.7 kB / 0.9826 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.8085, allocations: 156.7 kB / 0.9827 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.8099, allocations: 1.025 MB / 0.9837 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.81, allocations: 30.56 kB / 0.9838 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=24): time 2.244e-06/0.81, allocations: 0 / 0.9838 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24): time 0.001462/0.8115, allocations: 473.7 kB / 0.9842 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.8115, allocations: 59.39 kB / 0.9843 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.8136, allocations: 1.106 MB / 0.9853 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.8136, allocations: 29.7 kB / 0.9854 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.8142, allocations: 0.504 MB / 0.9859 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.8143, allocations: 90.66 kB / 0.986 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.8146, allocations: 98.03 kB / 0.986 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8147, allocations: 322 kB / 0.9864 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.8151, allocations: 132.8 kB / 0.9865 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.8158, allocations: 383.1 kB / 0.9868 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.8166, allocations: 467.6 kB / 0.9873 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.8167, allocations: 8 kB / 0.9873 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001297/0.818, allocations: 0.5393 MB / 0.9878 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.818, allocations: 8 kB / 0.9878 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.818, allocations: 7.938 kB / 0.9878 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.8181, allocations: 8 kB / 0.9878 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.8186, allocations: 87.89 kB / 0.9879 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.8186, allocations: 19.92 kB / 0.988 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/0.8195, allocations: 86.95 kB / 0.988 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.8196, allocations: 27.98 kB / 0.9881 GB, free: 12.58 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.0005465/0.8202, allocations: 290.5 kB / 0.9883 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.8204, allocations: 106.8 kB / 0.9884 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.8214, allocations: 430.7 kB / 0.9889 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.8215, allocations: 0 / 0.9889 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.8215, allocations: 8 kB / 0.9889 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.8215, allocations: 3.984 kB / 0.9889 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.8246, allocations: 1.54 MB / 0.9904 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.8246, allocations: 8.031 kB / 0.9904 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.8248, allocations: 39.92 kB / 0.9904 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.8249, allocations: 11.88 kB / 0.9904 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.8249, allocations: 15.98 kB / 0.9904 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.8249, allocations: 7.938 kB / 0.9904 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.8249, allocations: 8 kB / 0.9905 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009104/0.8258, allocations: 0.571 MB / 0.991 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.8263, allocations: 244 kB / 0.9912 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.8265, allocations: 15.94 kB / 0.9913 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.8271, allocations: 15.92 kB / 0.9913 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.8272, allocations: 35.83 kB / 0.9913 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.8272, allocations: 16 kB / 0.9913 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001524/0.8288, allocations: 0.7822 MB / 0.9921 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8288, allocations: 3.938 kB / 0.9921 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001259/0.83, allocations: 279.5 kB / 0.9924 GB, free: 7.961 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008924/0.8309, allocations: 333.6 kB / 0.9927 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008525/0.8318, allocations: 328.7 kB / 0.993 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8318, allocations: 4 kB / 0.993 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.8321, allocations: 140.1 kB / 0.9931 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/0.8354, allocations: 0.5222 MB / 0.9936 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.8385, allocations: 1.59 MB / 0.9952 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.8395, allocations: 1.074 MB / 0.9962 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001055/0.8406, allocations: 193.2 kB / 0.9964 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.8408, allocations: 71.36 kB / 0.9965 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.8408, allocations: 0 / 0.9965 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of Templates: time 0.04649/0.8873, allocations: 18.47 MB / 1.015 GB, free: 1.449 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)