Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_8_Buildings_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.001072/0.001072, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001014/0.001015, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005527/0.0005528, allocations: 16.69 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2278, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7687/0.9966, allocations: 205.7 MB / 0.9881 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02114/1.018, allocations: 18.82 MB / 1.006 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/1.02, allocations: 44.62 kB / 1.006 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/1.022, allocations: 0.5843 MB / 1.007 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005315/1.028, allocations: 1.468 MB / 1.008 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/1.032, allocations: 1.478 MB / 1.01 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004749/1.037, allocations: 1.77 MB / 1.012 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/1.039, allocations: 0.9324 MB / 1.013 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/1.041, allocations: 0.9219 MB / 1.013 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009631/1.042, allocations: 0.582 MB / 1.014 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/1.042, allocations: 33.16 kB / 1.014 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/1.045, allocations: 0.8035 MB / 1.015 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/1.045, allocations: 264.9 kB / 1.015 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/1.045, allocations: 263.7 kB / 1.015 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001694/1.047, allocations: 1.488 MB / 1.017 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/1.047, allocations: 7.156 kB / 1.017 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/1.047, allocations: 0 / 1.017 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.247e-05/1.047, allocations: 0 / 1.017 GB, free: 5.41 MB / 0.7325 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.001578/1.049, allocations: 1.226 MB / 1.018 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.049, allocations: 9.75 kB / 1.018 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/1.049, allocations: 142 kB / 1.018 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009691/1.05, allocations: 233.1 kB / 1.018 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.051, allocations: 0.8177 MB / 1.019 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/1.051, allocations: 187.1 kB / 1.019 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/1.051, allocations: 88.84 kB / 1.019 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/1.053, allocations: 0.9259 MB / 1.02 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/1.053, allocations: 3.312 kB / 1.02 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/1.053, allocations: 35.72 kB / 1.02 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/1.053, allocations: 21.97 kB / 1.02 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009582/1.054, allocations: 0.6229 MB / 1.021 GB, free: 2.461 MB / 0.7325 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.004158/1.058, allocations: 4.439 MB / 1.025 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/1.058, allocations: 182.3 kB / 1.026 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/1.059, allocations: 0.6664 MB / 1.026 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/1.059, allocations: 45.59 kB / 1.026 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 3.286e-06/1.059, allocations: 0 / 1.026 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.0009531/1.06, allocations: 451.1 kB / 1.027 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.06, allocations: 53.91 kB / 1.027 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.061, allocations: 1.097 MB / 1.028 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.141e-05/1.061, allocations: 35.36 kB / 1.028 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/1.062, allocations: 0.5098 MB / 1.028 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/1.062, allocations: 96.48 kB / 1.028 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/1.062, allocations: 8 kB / 1.028 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.062, allocations: 320.1 kB / 1.029 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/1.062, allocations: 124.9 kB / 1.029 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/1.063, allocations: 398 kB / 1.029 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/1.063, allocations: 185.9 kB / 1.029 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.063, allocations: 6.875 kB / 1.029 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008135/1.064, allocations: 0.5363 MB / 1.03 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.064, allocations: 7.906 kB / 1.03 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.064, allocations: 6.094 kB / 1.03 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.064, allocations: 10.91 kB / 1.03 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/1.064, allocations: 92.08 kB / 1.03 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/1.064, allocations: 13.12 kB / 1.03 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008356/1.065, allocations: 135.6 kB / 1.03 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/1.065, allocations: 33.94 kB / 1.03 GB, free: 10.79 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003684/1.065, allocations: 287.3 kB / 1.03 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/1.065, allocations: 98.47 kB / 1.031 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006385/1.066, allocations: 421.7 kB / 1.031 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.066, allocations: 2.719 kB / 1.031 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.066, allocations: 0 / 1.031 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.066, allocations: 0 / 1.031 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/1.068, allocations: 1.518 MB / 1.032 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.068, allocations: 12.97 kB / 1.032 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/1.068, allocations: 41.17 kB / 1.033 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/1.068, allocations: 7.844 kB / 1.033 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.068, allocations: 10.06 kB / 1.033 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.068, allocations: 7.531 kB / 1.033 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.068, allocations: 8.406 kB / 1.033 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/1.069, allocations: 0.7902 MB / 1.033 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/1.069, allocations: 246.4 kB / 1.034 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.07, allocations: 14.09 kB / 1.034 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/1.07, allocations: 31.58 kB / 1.034 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/1.07, allocations: 40.2 kB / 1.034 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.07, allocations: 8.312 kB / 1.034 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009473/1.071, allocations: 0.772 MB / 1.034 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.071, allocations: 0 / 1.034 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008585/1.072, allocations: 281.8 kB / 1.035 GB, free: 7.574 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/1.074, allocations: 2.743 MB / 1.037 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000538/1.074, allocations: 319.2 kB / 1.038 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.074, allocations: 6.906 kB / 1.038 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001954/1.074, allocations: 135.8 kB / 1.038 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/1.076, allocations: 475.8 kB / 1.038 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/1.087, allocations: 10.14 MB / 1.048 GB, free: 11 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007333/1.087, allocations: 1.079 MB / 1.049 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008992/1.088, allocations: 190.1 kB / 1.049 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/1.089, allocations: 367.3 kB / 1.05 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of SimCode: time 8.72e-07/1.089, allocations: 0 / 1.05 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04709/1.136, allocations: 26.23 MB / 1.075 GB, free: 15.55 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/1.136, allocations: 242 kB / 1.076 GB, free: 15.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.505, allocations: 0 / 1.076 GB, free: 15.3 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: