Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_IDEAS_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.0009357/0.0009356, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006958/0.006958, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7294/0.7294, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 8.234 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3374, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5204/0.8579, allocations: 243.4 MB / 0.8214 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.8772, allocations: 21.99 MB / 0.8429 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.8785, allocations: 47.72 kB / 0.8429 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.8803, allocations: 0.7945 MB / 0.8437 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.8831, allocations: 1.382 MB / 0.8451 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.8868, allocations: 1.769 MB / 0.8468 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003211/0.8901, allocations: 3.537 MB / 0.8502 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.8912, allocations: 1.086 MB / 0.8513 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.8929, allocations: 1.128 MB / 0.8524 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/0.8937, allocations: 0.8545 MB / 0.8532 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.437e-05/0.8938, allocations: 34.59 kB / 0.8533 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.8963, allocations: 1.867 MB / 0.8551 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.8965, allocations: 292.9 kB / 0.8554 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004101/0.897, allocations: 0.5553 MB / 0.8559 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.899, allocations: 2.26 MB / 0.8581 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.899, allocations: 0 / 0.8581 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.333e-06/0.899, allocations: 0 / 0.8581 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.899, allocations: 0 / 0.8581 GB, free: 1.527 MB / 0.6387 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.001409/0.9004, allocations: 1.233 MB / 0.8593 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9005, allocations: 11.56 kB / 0.8593 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.9006, allocations: 143.4 kB / 0.8595 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009378/0.9016, allocations: 234.5 kB / 0.8597 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009668/0.9025, allocations: 0.8477 MB / 0.8605 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.9027, allocations: 184 kB / 0.8607 GB, free: 16.19 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.9028, allocations: 90.94 kB / 0.8608 GB, free: 16.19 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.904, allocations: 0.936 MB / 0.8617 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.9041, allocations: 6.984 kB / 0.8617 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.9041, allocations: 38.81 kB / 0.8617 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.9041, allocations: 23.91 kB / 0.8618 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.9051, allocations: 0.6309 MB / 0.8624 GB, free: 16.04 MB / 0.6544 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.003412/0.9085, allocations: 4.442 MB / 0.8667 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.9088, allocations: 191.5 kB / 0.8669 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.909, allocations: 145.5 kB / 0.867 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008408/0.9098, allocations: 1.02 MB / 0.868 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.9098, allocations: 42.84 kB / 0.8681 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.9099, allocations: 0 / 0.8681 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0008251/0.9107, allocations: 461.5 kB / 0.8685 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.9107, allocations: 57.86 kB / 0.8686 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.9118, allocations: 1.104 MB / 0.8697 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.9119, allocations: 34.17 kB / 0.8697 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.9122, allocations: 0.5104 MB / 0.8702 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.9123, allocations: 91.22 kB / 0.8703 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.9123, allocations: 36.75 kB / 0.8703 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.9124, allocations: 321.8 kB / 0.8706 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.9126, allocations: 135.2 kB / 0.8707 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.913, allocations: 380.7 kB / 0.8711 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.9135, allocations: 467.9 kB / 0.8716 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.9135, allocations: 5.859 kB / 0.8716 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007226/0.9142, allocations: 0.5358 MB / 0.8721 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.9142, allocations: 15.97 kB / 0.8721 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.9143, allocations: 6.438 kB / 0.8721 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.9143, allocations: 8 kB / 0.8721 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.9146, allocations: 86.27 kB / 0.8722 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.9146, allocations: 14.44 kB / 0.8722 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.9153, allocations: 121.2 kB / 0.8723 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.9154, allocations: 28.62 kB / 0.8723 GB, free: 10.49 MB / 0.6544 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.0002973/0.9157, allocations: 291 kB / 0.8726 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.9158, allocations: 107.8 kB / 0.8727 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006587/0.9165, allocations: 421.5 kB / 0.8731 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.9165, allocations: 11.72 kB / 0.8731 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.9165, allocations: 0 / 0.8731 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9165, allocations: 2.906 kB / 0.8731 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.9184, allocations: 1.546 MB / 0.8747 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.9184, allocations: 9.938 kB / 0.8747 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.9186, allocations: 48.11 kB / 0.8747 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.9186, allocations: 6.609 kB / 0.8747 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.9186, allocations: 6.406 kB / 0.8747 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.9186, allocations: 8.984 kB / 0.8747 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.9186, allocations: 9.062 kB / 0.8747 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.9191, allocations: 0.5745 MB / 0.8753 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.9194, allocations: 251.1 kB / 0.8755 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.9195, allocations: 12.09 kB / 0.8756 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.92, allocations: 26.59 kB / 0.8756 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.92, allocations: 38.83 kB / 0.8756 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.9201, allocations: 10.72 kB / 0.8756 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009494/0.921, allocations: 0.783 MB / 0.8764 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.921, allocations: 0 / 0.8764 GB, free: 9.137 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000785/0.9218, allocations: 283.1 kB / 0.8767 GB, free: 9.102 MB / 0.6544 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.001149/0.923, allocations: 1.34 MB / 0.878 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.9235, allocations: 335.1 kB / 0.8783 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9235, allocations: 0 / 0.8783 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.9236, allocations: 138.5 kB / 0.8784 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.9265, allocations: 0.525 MB / 0.8789 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009334/0.9358, allocations: 8.217 MB / 0.887 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.9364, allocations: 1.062 MB / 0.888 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006944/0.9371, allocations: 206 kB / 0.8882 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/0.9375, allocations: 372.6 kB / 0.8885 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of SimCode: time 4.5e-07/0.9375, allocations: 0 / 0.8885 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5261/1.464, allocations: 29.38 MB / 0.9172 GB, free: 3.453 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.464, allocations: 244.8 kB / 0.9175 GB, free: 3.199 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.831, allocations: 0 / 0.9175 GB, free: 3.199 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)