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) 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-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009368, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001047/0.001047, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9331/0.9331, allocations: 135.3 MB / 426.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003411, allocations: 9.312 kB / 0.5071 GB, free: 5.059 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1948, allocations: 82.32 MB / 0.5875 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5896/0.7845, allocations: 227.3 MB / 0.8095 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02633/0.8108, allocations: 20.7 MB / 0.8297 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.8132, allocations: 47.69 kB / 0.8298 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.8167, allocations: 0.6362 MB / 0.8304 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004665/0.8213, allocations: 1.162 MB / 0.8315 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004809/0.8262, allocations: 1.349 MB / 0.8328 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004779/0.831, allocations: 2.977 MB / 0.8357 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.8327, allocations: 0.9086 MB / 0.8366 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.8359, allocations: 1.05 MB / 0.8376 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.8378, allocations: 0.817 MB / 0.8384 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.8379, allocations: 32 kB / 0.8385 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/0.8411, allocations: 0.904 MB / 0.8394 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003863/0.8415, allocations: 279 kB / 0.8396 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.8421, allocations: 257.1 kB / 0.8399 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.8443, allocations: 1.574 MB / 0.8414 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8443, allocations: 0 / 0.8414 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8444, allocations: 0 / 0.8414 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.8444, allocations: 0 / 0.8414 GB, free: 8.062 MB / 0.6544 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.001947/0.8463, allocations: 1.248 MB / 0.8426 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.8464, allocations: 8.031 kB / 0.8426 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.8466, allocations: 143.5 kB / 0.8428 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.8478, allocations: 238.4 kB / 0.843 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.8491, allocations: 0.8186 MB / 0.8438 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.8492, allocations: 188.8 kB / 0.844 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.8494, allocations: 92 kB / 0.8441 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.8509, allocations: 0.9246 MB / 0.845 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.851, allocations: 0 / 0.845 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.851, allocations: 36 kB / 0.845 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.8511, allocations: 23.94 kB / 0.845 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.8522, allocations: 0.6246 MB / 0.8456 GB, free: 3.57 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.007018/0.8593, allocations: 4.439 MB / 0.85 GB, free: 14.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.8597, allocations: 186.7 kB / 0.8501 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.86, allocations: 150.8 kB / 0.8503 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.8612, allocations: 1.025 MB / 0.8513 GB, free: 13.15 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.8612, allocations: 35.67 kB / 0.8513 GB, free: 13.11 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 2.575e-06/0.8612, allocations: 3.938 kB / 0.8513 GB, free: 13.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.001163/0.8624, allocations: 460.1 kB / 0.8518 GB, free: 12.65 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.8625, allocations: 63.39 kB / 0.8518 GB, free: 12.57 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.8644, allocations: 1.098 MB / 0.8529 GB, free: 11.46 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.8644, allocations: 33.7 kB / 0.8529 GB, free: 11.42 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000529/0.865, allocations: 0.504 MB / 0.8534 GB, free: 10.91 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.8651, allocations: 86.83 kB / 0.8535 GB, free: 10.83 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.8652, allocations: 4 kB / 0.8535 GB, free: 10.82 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002663/0.8654, allocations: 326 kB / 0.8538 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.8657, allocations: 128.8 kB / 0.8539 GB, free: 10.38 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.8663, allocations: 383.1 kB / 0.8543 GB, free: 9.895 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.8666, allocations: 187.8 kB / 0.8545 GB, free: 9.711 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8666, allocations: 4 kB / 0.8545 GB, free: 9.707 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001114/0.8678, allocations: 0.5348 MB / 0.855 GB, free: 9.164 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.8678, allocations: 8 kB / 0.855 GB, free: 9.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.8678, allocations: 4.688 kB / 0.855 GB, free: 9.152 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.8678, allocations: 12 kB / 0.855 GB, free: 9.141 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.8682, allocations: 95.83 kB / 0.8551 GB, free: 9.047 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.8682, allocations: 11.94 kB / 0.8551 GB, free: 9.035 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.8691, allocations: 130.9 kB / 0.8553 GB, free: 8.906 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.8691, allocations: 24 kB / 0.8553 GB, free: 8.883 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004591/0.8696, allocations: 289.5 kB / 0.8556 GB, free: 8.59 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.8698, allocations: 106.6 kB / 0.8557 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/0.8706, allocations: 416 kB / 0.8561 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.8706, allocations: 288 / 0.8561 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.8706, allocations: 0 / 0.8561 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8706, allocations: 4 kB / 0.8561 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.873, allocations: 1.546 MB / 0.8576 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.873, allocations: 7.984 kB / 0.8576 GB, free: 6.395 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.8732, allocations: 40.48 kB / 0.8576 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.8732, allocations: 12 kB / 0.8576 GB, free: 6.344 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.8732, allocations: 19.89 kB / 0.8577 GB, free: 6.324 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.8732, allocations: 8.062 kB / 0.8577 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8733, allocations: 7.938 kB / 0.8577 GB, free: 6.309 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.8739, allocations: 0.5703 MB / 0.8582 GB, free: 5.668 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.8742, allocations: 243.6 kB / 0.8585 GB, free: 5.41 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.8744, allocations: 15.95 kB / 0.8585 GB, free: 5.395 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.8748, allocations: 31.91 kB / 0.8585 GB, free: 5.363 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.875, allocations: 27.88 kB / 0.8585 GB, free: 5.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.875, allocations: 19.98 kB / 0.8586 GB, free: 5.316 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001111/0.8761, allocations: 0.7625 MB / 0.8593 GB, free: 4.547 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8761, allocations: 0 / 0.8593 GB, free: 4.547 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001017/0.8771, allocations: 283.5 kB / 0.8596 GB, free: 4.27 MB / 0.67 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.001702/0.8789, allocations: 1.32 MB / 0.8609 GB, free: 2.883 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007084/0.8796, allocations: 331.2 kB / 0.8612 GB, free: 2.562 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.8796, allocations: 1.375 kB / 0.8612 GB, free: 2.562 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.8798, allocations: 140.4 kB / 0.8613 GB, free: 2.426 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.882, allocations: 494.7 kB / 0.8618 GB, free: 1.961 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.333/1.215, allocations: 5.509 MB / 0.8672 GB, free: 218.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/1.216, allocations: 1.069 MB / 0.8682 GB, free: 217.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008893/1.216, allocations: 193.2 kB / 0.8684 GB, free: 217.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/1.217, allocations: 363.9 kB / 0.8687 GB, free: 217.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.002e-06/1.217, allocations: 0 / 0.8687 GB, free: 217.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05037/1.267, allocations: 26.49 MB / 0.8946 GB, free: 216.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/1.267, allocations: 237.9 kB / 0.8948 GB, free: 215.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.805, allocations: 0 / 0.8948 GB, free: 215.9 MB / 0.67 GB (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/linux/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) Environment - environmentSimulation: