Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_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.001031/0.001035, allocations: 102.3 kB / 15.98 MB, free: 6.348 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.0009349/0.0009349, allocations: 198.6 kB / 16.91 MB, free: 6.191 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.242/1.242, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6776/0.6776, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.89 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2993, allocations: 76.17 MB / 0.556 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4588/0.7581, allocations: 246 MB / 0.7962 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.7748, allocations: 22.09 MB / 0.8178 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.776, allocations: 51 kB / 0.8178 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.7779, allocations: 0.8433 MB / 0.8187 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.7803, allocations: 1.377 MB / 0.82 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0033/0.7837, allocations: 1.798 MB / 0.8218 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002/0.7857, allocations: 2.689 MB / 0.8244 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.7868, allocations: 1.299 MB / 0.8257 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.7884, allocations: 1.346 MB / 0.827 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000785/0.7892, allocations: 0.9451 MB / 0.8279 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.7894, allocations: 109 kB / 0.828 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.7916, allocations: 1.729 MB / 0.8297 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.7918, allocations: 385.6 kB / 0.83 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.7922, allocations: 0.6342 MB / 0.8307 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.7941, allocations: 2.336 MB / 0.8329 GB, free: 44 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7941, allocations: 3.938 kB / 0.833 GB, free: 40 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7942, allocations: 6.625 kB / 0.833 GB, free: 36 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.7942, allocations: 0 / 0.833 GB, free: 36 kB / 0.5762 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.001672/0.7958, allocations: 1.472 MB / 0.8344 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.7959, allocations: 8.312 kB / 0.8344 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.796, allocations: 142.8 kB / 0.8345 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009402/0.797, allocations: 228.2 kB / 0.8348 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009632/0.7979, allocations: 0.8483 MB / 0.8356 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.7981, allocations: 189.7 kB / 0.8358 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.149e-05/0.7982, allocations: 92.28 kB / 0.8359 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.7994, allocations: 0.9329 MB / 0.8368 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.7995, allocations: 3.984 kB / 0.8368 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.7995, allocations: 36.94 kB / 0.8368 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.7995, allocations: 21.97 kB / 0.8368 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008779/0.8004, allocations: 0.6326 MB / 0.8374 GB, free: 14.32 MB / 0.5919 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.003553/0.804, allocations: 4.455 MB / 0.8418 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.8043, allocations: 191.3 kB / 0.842 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.8045, allocations: 143.1 kB / 0.8421 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008347/0.8053, allocations: 1.021 MB / 0.8431 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.8054, allocations: 30.56 kB / 0.8431 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.8054, allocations: 0 / 0.8431 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0008698/0.8062, allocations: 479.4 kB / 0.8436 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.8063, allocations: 53.91 kB / 0.8436 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.8074, allocations: 1.105 MB / 0.8447 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.8075, allocations: 32.33 kB / 0.8448 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.8078, allocations: 0.5077 MB / 0.8453 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.8079, allocations: 86.34 kB / 0.8453 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.808, allocations: 99.3 kB / 0.8454 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.8081, allocations: 323.5 kB / 0.8457 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.8083, allocations: 128.2 kB / 0.8459 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.8087, allocations: 394.2 kB / 0.8462 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.8091, allocations: 465.3 kB / 0.8467 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8092, allocations: 1.75 kB / 0.8467 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000748/0.8099, allocations: 0.5379 MB / 0.8472 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.8099, allocations: 9.656 kB / 0.8472 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.8099, allocations: 8.734 kB / 0.8472 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.81, allocations: 12.78 kB / 0.8472 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.8103, allocations: 88.09 kB / 0.8473 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.8103, allocations: 18.31 kB / 0.8473 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.811, allocations: 125.7 kB / 0.8475 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.811, allocations: 30.17 kB / 0.8475 GB, free: 6.055 MB / 0.5919 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.0003/0.8113, allocations: 284.1 kB / 0.8478 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.8115, allocations: 99.78 kB / 0.8479 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006006/0.8121, allocations: 436.9 kB / 0.8483 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.8121, allocations: 3.031 kB / 0.8483 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8121, allocations: 3.984 kB / 0.8483 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8121, allocations: 0 / 0.8483 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.8139, allocations: 1.548 MB / 0.8498 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.8139, allocations: 5.156 kB / 0.8498 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.814, allocations: 46.11 kB / 0.8498 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.814, allocations: 9.031 kB / 0.8498 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.8141, allocations: 9.859 kB / 0.8499 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.8141, allocations: 12.47 kB / 0.8499 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8141, allocations: 5.469 kB / 0.8499 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.8146, allocations: 0.5763 MB / 0.8504 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.8149, allocations: 241 kB / 0.8507 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.815, allocations: 18 kB / 0.8507 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.8155, allocations: 29.41 kB / 0.8507 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.8155, allocations: 29.77 kB / 0.8507 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.8155, allocations: 15.41 kB / 0.8508 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008243/0.8164, allocations: 0.7782 MB / 0.8515 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8164, allocations: 0 / 0.8515 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006984/0.8171, allocations: 284.7 kB / 0.8518 GB, free: 3.137 MB / 0.5919 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.001163/0.8182, allocations: 1.344 MB / 0.8531 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004889/0.8187, allocations: 343.3 kB / 0.8534 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8187, allocations: 4 kB / 0.8534 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.8189, allocations: 143.1 kB / 0.8536 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.821, allocations: 0.5178 MB / 0.8541 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009169/0.8302, allocations: 8.201 MB / 0.8621 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.8307, allocations: 1.067 MB / 0.8631 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006467/0.8314, allocations: 192.1 kB / 0.8633 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/0.8318, allocations: 359.3 kB / 0.8636 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.8318, allocations: 4 kB / 0.8637 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6111/1.443, allocations: 27.57 MB / 0.8906 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.443, allocations: 256.2 kB / 0.8908 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.785, allocations: 3.938 kB / 0.8908 GB, free: 11.57 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)