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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006665/0.0006667, allocations: 97.64 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.00373/0.00373, allocations: 169 kB / 16.26 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.225/1.225, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001574/0.001574, allocations: 262.7 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8668/0.8668, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 14.62 kB / 0.5988 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 88.55 MB / 0.6852 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4969/0.634, allocations: 243.4 MB / 0.9229 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02459/0.6586, allocations: 21.99 MB / 0.9444 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.6602, allocations: 47.69 kB / 0.9444 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.6627, allocations: 0.7885 MB / 0.9452 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00365/0.6664, allocations: 1.381 MB / 0.9465 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.6706, allocations: 1.782 MB / 0.9483 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003865/0.6745, allocations: 3.532 MB / 0.9517 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.6761, allocations: 1.085 MB / 0.9528 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.6783, allocations: 1.132 MB / 0.9539 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.6797, allocations: 0.8557 MB / 0.9547 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.6798, allocations: 36 kB / 0.9548 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.6829, allocations: 1.862 MB / 0.9566 GB, free: 8.988 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003403/0.6832, allocations: 286.9 kB / 0.9569 GB, free: 8.707 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.6839, allocations: 0.5612 MB / 0.9574 GB, free: 8.137 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.6867, allocations: 2.258 MB / 0.9596 GB, free: 5.871 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6867, allocations: 3.938 kB / 0.9596 GB, free: 5.867 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6867, allocations: 0 / 0.9596 GB, free: 5.867 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.772e-05/0.6868, allocations: 4 kB / 0.9596 GB, free: 5.863 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.001676/0.6885, allocations: 1.224 MB / 0.9608 GB, free: 4.586 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.6885, allocations: 8.031 kB / 0.9608 GB, free: 4.578 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.6887, allocations: 147.5 kB / 0.961 GB, free: 4.426 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.6896, allocations: 226.3 kB / 0.9612 GB, free: 4.203 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6907, allocations: 0.8531 MB / 0.962 GB, free: 3.309 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.6909, allocations: 184.8 kB / 0.9622 GB, free: 3.102 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.691, allocations: 99.88 kB / 0.9623 GB, free: 3.004 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.6924, allocations: 0.9285 MB / 0.9632 GB, free: 2.043 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.6924, allocations: 3.938 kB / 0.9632 GB, free: 2.039 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/0.6925, allocations: 36 kB / 0.9632 GB, free: 2.004 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.6925, allocations: 24 kB / 0.9632 GB, free: 1.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.6935, allocations: 0.6324 MB / 0.9639 GB, free: 1.344 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.004026/0.6976, allocations: 4.443 MB / 0.9682 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.6979, allocations: 186.7 kB / 0.9684 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.6981, allocations: 144.8 kB / 0.9685 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009166/0.699, allocations: 1.017 MB / 0.9695 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.6991, allocations: 34.59 kB / 0.9695 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.6991, allocations: 4 kB / 0.9695 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.0009008/0.7, allocations: 482.2 kB / 0.97 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.7, allocations: 51.41 kB / 0.9701 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.7013, allocations: 1.102 MB / 0.9711 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.7014, allocations: 33.7 kB / 0.9712 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.7018, allocations: 0.5118 MB / 0.9717 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.7018, allocations: 86.75 kB / 0.9717 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.7019, allocations: 37.7 kB / 0.9718 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.702, allocations: 326 kB / 0.9721 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.7022, allocations: 124.8 kB / 0.9722 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.7027, allocations: 383.1 kB / 0.9726 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.7032, allocations: 471.6 kB / 0.973 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7032, allocations: 7.938 kB / 0.973 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000814/0.704, allocations: 0.5433 MB / 0.9736 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.7041, allocations: 11.94 kB / 0.9736 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7041, allocations: 4 kB / 0.9736 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7041, allocations: 8 kB / 0.9736 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.7044, allocations: 95.77 kB / 0.9737 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.7045, allocations: 12 kB / 0.9737 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.7051, allocations: 132.9 kB / 0.9738 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.7052, allocations: 28 kB / 0.9738 GB, free: 6.227 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.0003351/0.7055, allocations: 282.9 kB / 0.9741 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.7057, allocations: 106.7 kB / 0.9742 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/0.7064, allocations: 432.1 kB / 0.9746 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.7064, allocations: 0 / 0.9746 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.7064, allocations: 0 / 0.9746 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7064, allocations: 0 / 0.9746 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.7084, allocations: 1.55 MB / 0.9761 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.7084, allocations: 7.984 kB / 0.9761 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.7086, allocations: 47.86 kB / 0.9762 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.7086, allocations: 4 kB / 0.9762 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.7086, allocations: 12 kB / 0.9762 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.7086, allocations: 7.938 kB / 0.9762 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/0.7086, allocations: 8 kB / 0.9762 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.7092, allocations: 0.585 MB / 0.9768 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.7095, allocations: 243.7 kB / 0.977 GB, free: 2.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.7096, allocations: 8 kB / 0.977 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.71, allocations: 31.88 kB / 0.9771 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.7101, allocations: 27.86 kB / 0.9771 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.7101, allocations: 16 kB / 0.9771 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000933/0.7111, allocations: 0.7822 MB / 0.9779 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7111, allocations: 0 / 0.9779 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007639/0.7118, allocations: 283.5 kB / 0.9781 GB, free: 1.602 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.001258/0.7131, allocations: 1.334 MB / 0.9794 GB, free: 200 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.7136, allocations: 331.5 kB / 0.9798 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7136, allocations: 1.375 kB / 0.9798 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.7138, allocations: 148.3 kB / 0.9799 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.7167, allocations: 0.5174 MB / 0.9804 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.7268, allocations: 8.241 MB / 0.9885 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/0.7275, allocations: 1.064 MB / 0.9895 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000702/0.7282, allocations: 196.7 kB / 0.9897 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.7287, allocations: 371.3 kB / 0.99 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of SimCode: time 2.495e-06/0.7287, allocations: 0 / 0.99 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.451/1.18, allocations: 29.41 MB / 1.019 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/1.18, allocations: 285.3 kB / 1.019 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.39, allocations: 0 / 1.019 GB, free: 7.48 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)