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.001356/0.001356, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001444/0.001444, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002527/0.002527, allocations: 291.1 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.063/1.063, allocations: 178.6 MB / 0.507 GB, free: 4.699 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 97.2 kB / 0.6059 GB, free: 25.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1789, allocations: 89.16 MB / 0.693 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5978/0.7767, allocations: 246 MB / 0.9332 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02772/0.8045, allocations: 22.09 MB / 0.9548 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.8064, allocations: 47.69 kB / 0.9548 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002761/0.8092, allocations: 0.8432 MB / 0.9556 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.814, allocations: 1.378 MB / 0.957 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00518/0.8192, allocations: 1.792 MB / 0.9587 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004433/0.8236, allocations: 2.693 MB / 0.9614 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.8258, allocations: 1.314 MB / 0.9626 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.8288, allocations: 1.331 MB / 0.9639 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.8302, allocations: 0.9572 MB / 0.9649 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.8304, allocations: 108 kB / 0.965 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/0.8341, allocations: 1.734 MB / 0.9667 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004976/0.8346, allocations: 378.9 kB / 0.967 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000916/0.8356, allocations: 0.6415 MB / 0.9677 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.8396, allocations: 2.337 MB / 0.9699 GB, free: 76 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8396, allocations: 0 / 0.9699 GB, free: 76 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8396, allocations: 0 / 0.9699 GB, free: 76 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.8396, allocations: 0 / 0.9699 GB, free: 76 kB / 0.6856 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.002371/0.842, allocations: 1.473 MB / 0.9714 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.8421, allocations: 12.03 kB / 0.9714 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.8432, allocations: 222.4 kB / 0.9716 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.8445, allocations: 0.8531 MB / 0.9724 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.8447, allocations: 192.8 kB / 0.9726 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.8448, allocations: 88 kB / 0.9727 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.8465, allocations: 0.9284 MB / 0.9736 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.8466, allocations: 0 / 0.9736 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.8467, allocations: 40 kB / 0.9737 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.8467, allocations: 24 kB / 0.9737 GB, free: 12.1 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.8479, allocations: 0.6285 MB / 0.9743 GB, free: 11.47 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.00578/0.8537, allocations: 4.439 MB / 0.9786 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.8541, allocations: 190.7 kB / 0.9788 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.8544, allocations: 149.3 kB / 0.9789 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.8558, allocations: 1.017 MB / 0.9799 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.8559, allocations: 38.55 kB / 0.98 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=24): time 2.184e-06/0.8559, allocations: 0 / 0.98 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24): time 0.001132/0.857, allocations: 468 kB / 0.9804 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.8571, allocations: 55.41 kB / 0.9805 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.8586, allocations: 1.114 MB / 0.9816 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.8587, allocations: 33.7 kB / 0.9816 GB, free: 3.309 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.8591, allocations: 0.5118 MB / 0.9821 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/0.8592, allocations: 90.73 kB / 0.9822 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.8594, allocations: 94.03 kB / 0.9823 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.8596, allocations: 322 kB / 0.9826 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.8599, allocations: 128.8 kB / 0.9827 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.8604, allocations: 391.1 kB / 0.9831 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006352/0.8611, allocations: 459.6 kB / 0.9835 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.8611, allocations: 4 kB / 0.9835 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009583/0.8621, allocations: 0.5388 MB / 0.984 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.8621, allocations: 11.94 kB / 0.9841 GB, free: 0.5703 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.8621, allocations: 11.94 kB / 0.9841 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.8621, allocations: 11.94 kB / 0.9841 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.8625, allocations: 88.58 kB / 0.9842 GB, free: 472 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.8626, allocations: 11.94 kB / 0.9842 GB, free: 460 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/0.8634, allocations: 130.9 kB / 0.9843 GB, free: 328 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.8635, allocations: 31.98 kB / 0.9843 GB, free: 296 kB / 0.7012 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.0004032/0.8639, allocations: 285.6 kB / 0.9846 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.8641, allocations: 98.95 kB / 0.9847 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.8648, allocations: 430.3 kB / 0.9851 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.8649, allocations: 4 kB / 0.9851 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8649, allocations: 0 / 0.9851 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.8649, allocations: 3.984 kB / 0.9851 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.8673, allocations: 1.547 MB / 0.9866 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.8673, allocations: 4 kB / 0.9866 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.8675, allocations: 43.92 kB / 0.9867 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.8675, allocations: 7.938 kB / 0.9867 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.8676, allocations: 8.562 kB / 0.9867 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.8676, allocations: 15.98 kB / 0.9867 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8676, allocations: 7.938 kB / 0.9867 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.8683, allocations: 0.5671 MB / 0.9873 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.8686, allocations: 243.6 kB / 0.9875 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.8688, allocations: 15.92 kB / 0.9875 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.8693, allocations: 31.89 kB / 0.9875 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.8693, allocations: 27.84 kB / 0.9876 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.8693, allocations: 16 kB / 0.9876 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001179/0.8705, allocations: 0.7861 MB / 0.9883 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8705, allocations: 0 / 0.9883 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008935/0.8714, allocations: 283.5 kB / 0.9886 GB, free: 11.67 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.0006963/0.8721, allocations: 334.1 kB / 0.9889 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006566/0.8728, allocations: 348.5 kB / 0.9893 GB, free: 11 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.8728, allocations: 4 kB / 0.9893 GB, free: 11 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.8731, allocations: 144 kB / 0.9894 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/0.8755, allocations: 0.5137 MB / 0.9899 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.8783, allocations: 1.898 MB / 0.9918 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000823/0.8791, allocations: 1.074 MB / 0.9928 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007725/0.8799, allocations: 197.9 kB / 0.993 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.8801, allocations: 67.44 kB / 0.9931 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.8801, allocations: 0 / 0.9931 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Templates: time 0.03508/0.9152, allocations: 18.38 MB / 1.011 GB, free: 4.922 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)