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.0009732/0.0009735, allocations: 98.27 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.008433/0.008433, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.335/1.335, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 270.8 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9698/0.9698, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004446, allocations: 14.11 kB / 0.5987 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1711, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6545/0.8256, allocations: 243.4 MB / 0.9228 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02683/0.8525, allocations: 21.99 MB / 0.9443 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.8548, allocations: 47.69 kB / 0.9443 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.8576, allocations: 0.7846 MB / 0.9451 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.862, allocations: 1.382 MB / 0.9464 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.8671, allocations: 1.781 MB / 0.9482 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0047/0.8718, allocations: 3.54 MB / 0.9516 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.8736, allocations: 1.085 MB / 0.9527 GB, free: 13 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002751/0.8764, allocations: 1.128 MB / 0.9538 GB, free: 11.87 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.8776, allocations: 0.8518 MB / 0.9546 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.8777, allocations: 36 kB / 0.9546 GB, free: 10.98 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.8812, allocations: 1.87 MB / 0.9565 GB, free: 9.105 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.8816, allocations: 294.9 kB / 0.9568 GB, free: 8.816 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007705/0.8824, allocations: 0.5535 MB / 0.9573 GB, free: 8.254 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.8856, allocations: 2.266 MB / 0.9595 GB, free: 5.98 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8856, allocations: 0 / 0.9595 GB, free: 5.98 MB / 0.67 GB Notification: Performance of FrontEnd: time 5.741e-06/0.8856, allocations: 0 / 0.9595 GB, free: 5.98 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.8856, allocations: 3.938 kB / 0.9595 GB, free: 5.977 MB / 0.67 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.001705/0.8873, allocations: 1.229 MB / 0.9607 GB, free: 4.695 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.8874, allocations: 8.031 kB / 0.9607 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.8884, allocations: 234.4 kB / 0.9609 GB, free: 4.457 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.8896, allocations: 0.8453 MB / 0.9618 GB, free: 3.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.8897, allocations: 184.8 kB / 0.9619 GB, free: 3.363 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.8898, allocations: 92 kB / 0.962 GB, free: 3.273 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.8913, allocations: 0.9323 MB / 0.9629 GB, free: 2.309 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.8914, allocations: 7.938 kB / 0.9629 GB, free: 2.301 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.8915, allocations: 36 kB / 0.963 GB, free: 2.266 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.8915, allocations: 20 kB / 0.963 GB, free: 2.246 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.8925, allocations: 0.6324 MB / 0.9636 GB, free: 1.609 MB / 0.67 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.004447/0.897, allocations: 4.443 MB / 0.968 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.8973, allocations: 182.7 kB / 0.9681 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.8975, allocations: 144.9 kB / 0.9683 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009126/0.8984, allocations: 1.028 MB / 0.9693 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.8985, allocations: 38.56 kB / 0.9693 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.8985, allocations: 0 / 0.9693 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.0009349/0.8994, allocations: 470.7 kB / 0.9698 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.8995, allocations: 51.41 kB / 0.9698 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.9008, allocations: 1.11 MB / 0.9709 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.9009, allocations: 33.7 kB / 0.9709 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.9013, allocations: 0.504 MB / 0.9714 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/0.9013, allocations: 86.75 kB / 0.9715 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.9014, allocations: 45.69 kB / 0.9715 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9015, allocations: 322 kB / 0.9719 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.9017, allocations: 132.7 kB / 0.972 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.9022, allocations: 379.2 kB / 0.9723 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.9027, allocations: 471.5 kB / 0.9728 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.9027, allocations: 4 kB / 0.9728 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008401/0.9036, allocations: 0.5352 MB / 0.9733 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.9036, allocations: 11.98 kB / 0.9733 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9036, allocations: 7.938 kB / 0.9733 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.9037, allocations: 12 kB / 0.9733 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.904, allocations: 87.78 kB / 0.9734 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.904, allocations: 11.98 kB / 0.9734 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/0.9048, allocations: 132.1 kB / 0.9736 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.9049, allocations: 27.98 kB / 0.9736 GB, free: 6.5 MB / 0.6856 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.0003526/0.9052, allocations: 287 kB / 0.9739 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.9054, allocations: 102.8 kB / 0.974 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006857/0.9061, allocations: 438.1 kB / 0.9744 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.9061, allocations: 3.984 kB / 0.9744 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9061, allocations: 4 kB / 0.9744 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.9061, allocations: 7.922 kB / 0.9744 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.9081, allocations: 1.542 MB / 0.9759 GB, free: 4.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.9081, allocations: 4 kB / 0.9759 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.9083, allocations: 39.92 kB / 0.9759 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.9083, allocations: 11.92 kB / 0.976 GB, free: 3.953 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.9083, allocations: 12 kB / 0.976 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.9084, allocations: 7.938 kB / 0.976 GB, free: 3.934 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/0.9084, allocations: 8.531 kB / 0.976 GB, free: 3.926 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.909, allocations: 0.5732 MB / 0.9765 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.9093, allocations: 251.5 kB / 0.9768 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.9094, allocations: 11.98 kB / 0.9768 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.9099, allocations: 35.89 kB / 0.9768 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.9099, allocations: 27.84 kB / 0.9769 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.91, allocations: 12 kB / 0.9769 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009854/0.9109, allocations: 0.7822 MB / 0.9776 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9109, allocations: 0 / 0.9776 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008661/0.9118, allocations: 287.5 kB / 0.9779 GB, free: 1.863 MB / 0.6856 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.0006715/0.9125, allocations: 326.8 kB / 0.9782 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005664/0.9131, allocations: 335.9 kB / 0.9785 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.9131, allocations: 5.312 kB / 0.9785 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.9133, allocations: 144.6 kB / 0.9787 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/0.9162, allocations: 0.5158 MB / 0.9792 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.9185, allocations: 1.913 MB / 0.9811 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.9192, allocations: 1.071 MB / 0.9821 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007099/0.9199, allocations: 201.8 kB / 0.9823 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.9201, allocations: 75.42 kB / 0.9824 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of SimCode: time 5.41e-07/0.9201, allocations: 3.938 kB / 0.9824 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of Templates: time 0.03336/0.9535, allocations: 19.48 MB / 1.001 GB, free: 9.988 MB / 0.7169 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)