Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 186 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9965/0.9965, allocations: 175.7 MB / 480.1 MB, free: 2.855 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 68.39 kB / 0.6678 GB, free: 10.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1598, allocations: 94.53 MB / 0.7601 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5748/0.7346, allocations: 251 MB / 1.005 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.7603, allocations: 22.57 MB / 1.027 GB, free: 8.203 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.7618, allocations: 59.62 kB / 1.027 GB, free: 8.145 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.7644, allocations: 0.9937 MB / 1.028 GB, free: 7.145 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.7681, allocations: 1.512 MB / 1.03 GB, free: 5.629 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.7727, allocations: 1.988 MB / 1.032 GB, free: 3.645 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.003466/0.7762, allocations: 2.655 MB / 1.034 GB, free: 0.9844 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.7776, allocations: 0.9652 MB / 1.035 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.7805, allocations: 1.592 MB / 1.037 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.7818, allocations: 0.9416 MB / 1.038 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.782, allocations: 108 kB / 1.038 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.7851, allocations: 1.761 MB / 1.039 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003971/0.7855, allocations: 390.8 kB / 1.04 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000661/0.7862, allocations: 0.6415 MB / 1.04 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002932/0.7891, allocations: 2.273 MB / 1.043 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7891, allocations: 0 / 1.043 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7891, allocations: 3.938 kB / 1.043 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.7891, allocations: 0 / 1.043 GB, free: 8.254 MB / 0.7794 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.001952/0.7911, allocations: 1.513 MB / 1.044 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.7911, allocations: 8.031 kB / 1.044 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.7913, allocations: 143.5 kB / 1.044 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.7923, allocations: 235 kB / 1.045 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.7936, allocations: 0.928 MB / 1.045 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.7938, allocations: 188.7 kB / 1.046 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.7939, allocations: 92 kB / 1.046 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.7953, allocations: 0.9246 MB / 1.047 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.7953, allocations: 8 kB / 1.047 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.7954, allocations: 36 kB / 1.047 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.7954, allocations: 20 kB / 1.047 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.7965, allocations: 0.6332 MB / 1.047 GB, free: 3.379 MB / 0.7794 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.004526/0.801, allocations: 4.432 MB / 1.052 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.8014, allocations: 186.7 kB / 1.052 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.8016, allocations: 141.9 kB / 1.052 GB, free: 14.22 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.8026, allocations: 1.028 MB / 1.053 GB, free: 12.97 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.8026, allocations: 34.56 kB / 1.053 GB, free: 12.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.8026, allocations: 0 / 1.053 GB, free: 12.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=24): time 0.001073/0.8037, allocations: 476.1 kB / 1.053 GB, free: 12.46 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.8038, allocations: 59.41 kB / 1.054 GB, free: 12.39 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.8051, allocations: 1.106 MB / 1.055 GB, free: 11.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.8052, allocations: 33.7 kB / 1.055 GB, free: 11.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.8056, allocations: 0.5126 MB / 1.055 GB, free: 10.71 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.8057, allocations: 91.16 kB / 1.055 GB, free: 10.62 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.8058, allocations: 106.1 kB / 1.055 GB, free: 10.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8059, allocations: 322 kB / 1.056 GB, free: 10.2 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.8062, allocations: 124.8 kB / 1.056 GB, free: 10.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.8066, allocations: 391 kB / 1.056 GB, free: 9.582 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.8072, allocations: 463.6 kB / 1.057 GB, free: 9.043 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.8072, allocations: 4 kB / 1.057 GB, free: 9.039 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009073/0.8081, allocations: 0.5476 MB / 1.057 GB, free: 8.484 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.8082, allocations: 16.11 kB / 1.057 GB, free: 8.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8082, allocations: 4 kB / 1.057 GB, free: 8.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.8082, allocations: 12 kB / 1.057 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.8085, allocations: 88.72 kB / 1.057 GB, free: 8.367 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.8086, allocations: 15.92 kB / 1.057 GB, free: 8.352 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.8092, allocations: 91.28 kB / 1.057 GB, free: 8.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.8092, allocations: 27.98 kB / 1.057 GB, free: 8.234 MB / 0.795 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.0003743/0.8096, allocations: 289.6 kB / 1.058 GB, free: 7.941 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.8097, allocations: 111.2 kB / 1.058 GB, free: 7.832 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.8104, allocations: 420.3 kB / 1.058 GB, free: 7.418 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.8105, allocations: 7.984 kB / 1.058 GB, free: 7.41 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8105, allocations: 4 kB / 1.058 GB, free: 7.406 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.8105, allocations: 0 / 1.058 GB, free: 7.406 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.8126, allocations: 1.554 MB / 1.06 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.8126, allocations: 4 kB / 1.06 GB, free: 5.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.8128, allocations: 48.47 kB / 1.06 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.8128, allocations: 11.94 kB / 1.06 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.8128, allocations: 12 kB / 1.06 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.8128, allocations: 8 kB / 1.06 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.8128, allocations: 7.938 kB / 1.06 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/0.8134, allocations: 0.5703 MB / 1.06 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002998/0.8137, allocations: 248.2 kB / 1.061 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.8138, allocations: 8 kB / 1.061 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.8143, allocations: 23.98 kB / 1.061 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.8143, allocations: 27.84 kB / 1.061 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.8143, allocations: 12 kB / 1.061 GB, free: 4.68 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001014/0.8153, allocations: 0.7822 MB / 1.061 GB, free: 3.891 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.8153, allocations: 0 / 1.061 GB, free: 3.891 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008038/0.8161, allocations: 291.4 kB / 1.062 GB, free: 3.605 MB / 0.795 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.001498/0.8176, allocations: 1.343 MB / 1.063 GB, free: 2.188 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005883/0.8182, allocations: 323.5 kB / 1.063 GB, free: 1.871 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8182, allocations: 5.375 kB / 1.063 GB, free: 1.867 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.8184, allocations: 144.5 kB / 1.063 GB, free: 1.727 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/0.8206, allocations: 0.5088 MB / 1.064 GB, free: 1.23 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.8299, allocations: 7.443 MB / 1.071 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/0.8306, allocations: 1.067 MB / 1.072 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006421/0.8313, allocations: 194 kB / 1.072 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004507/0.8317, allocations: 367.3 kB / 1.073 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of SimCode: time 6.52e-07/0.8317, allocations: 0 / 1.073 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05789/0.8896, allocations: 28.18 MB / 1.1 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.06/9.949, allocations: 7.266 kB / 1.1 GB, free: 11.85 MB / 0.8419 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.468201288007549]