Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",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.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7312/0.7312, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.8 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.326, allocations: 80.21 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01911/0.3451, allocations: 20.74 MB / 0.6004 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006047/0.3512, allocations: 4.943 MB / 0.6053 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003294/0.3515, allocations: 18.47 kB / 0.6053 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.3522, allocations: 280.2 kB / 0.6056 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.3537, allocations: 0.8128 MB / 0.6064 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.3551, allocations: 0.7054 MB / 0.607 GB, free: 416 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.3564, allocations: 1.383 MB / 0.6084 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.3569, allocations: 436.7 kB / 0.6088 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007424/0.3577, allocations: 0.5683 MB / 0.6094 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004951/0.3582, allocations: 447.9 kB / 0.6098 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.3583, allocations: 38 kB / 0.6098 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009687/0.3592, allocations: 0.6354 MB / 0.6104 GB, free: 14.42 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3594, allocations: 126 kB / 0.6106 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.3596, allocations: 291.2 kB / 0.6108 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009267/0.3606, allocations: 0.8437 MB / 0.6117 GB, free: 13.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3606, allocations: 1.219 kB / 0.6117 GB, free: 13.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3606, allocations: 0 / 0.6117 GB, free: 13.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.3606, allocations: 0 / 0.6117 GB, free: 13.59 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001409/0.362, allocations: 0.9241 MB / 0.6126 GB, free: 12.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3621, allocations: 12.81 kB / 0.6126 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.3621, allocations: 64.75 kB / 0.6126 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3622, allocations: 63.56 kB / 0.6127 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.3628, allocations: 455.6 kB / 0.6131 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3628, allocations: 26.81 kB / 0.6132 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.3629, allocations: 35.72 kB / 0.6132 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.3635, allocations: 310.6 kB / 0.6135 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3635, allocations: 0 / 0.6135 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.3635, allocations: 11.28 kB / 0.6135 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3635, allocations: 6.5 kB / 0.6135 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.3642, allocations: 263.1 kB / 0.6138 GB, free: 12.01 MB / 462.1 MB 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.001978/0.3662, allocations: 1.343 MB / 0.6151 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.3667, allocations: 261.5 kB / 0.6153 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.367, allocations: 132.3 kB / 0.6155 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004105/0.3674, allocations: 0.4992 MB / 0.6159 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3674, allocations: 40.72 kB / 0.616 GB, free: 10.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.3674, allocations: 0 / 0.616 GB, free: 10.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.00173/0.3692, allocations: 0.5513 MB / 0.6165 GB, free: 9.699 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.3692, allocations: 55.22 kB / 0.6166 GB, free: 9.637 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.3697, allocations: 476.7 kB / 0.617 GB, free: 9.344 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.3697, allocations: 32.39 kB / 0.6171 GB, free: 9.309 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3699, allocations: 248.1 kB / 0.6173 GB, free: 9.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.37, allocations: 88.7 kB / 0.6174 GB, free: 9.012 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3701, allocations: 73.59 kB / 0.6174 GB, free: 8.965 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3702, allocations: 357.3 kB / 0.6178 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.3705, allocations: 124.1 kB / 0.6179 GB, free: 8.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.3709, allocations: 185.7 kB / 0.6181 GB, free: 8.434 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/0.3715, allocations: 270.3 kB / 0.6183 GB, free: 8.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3715, allocations: 0 / 0.6183 GB, free: 8.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001558/0.3731, allocations: 490.4 kB / 0.6188 GB, free: 8.059 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3731, allocations: 7.094 kB / 0.6188 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3731, allocations: 1.375 kB / 0.6188 GB, free: 8.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003275/0.3735, allocations: 49.25 kB / 0.6189 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.3738, allocations: 71.14 kB / 0.6189 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003782/0.3742, allocations: 0.5714 MB / 0.6195 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004204/0.3746, allocations: 45.5 kB / 0.6195 GB, free: 7.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.3747, allocations: 15.08 kB / 0.6195 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003994/0.3751, allocations: 240.4 kB / 0.6198 GB, free: 7.262 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003407/0.3754, allocations: 179.9 kB / 0.6199 GB, free: 7.145 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000644/0.3761, allocations: 265.6 kB / 0.6202 GB, free: 7.008 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.3761, allocations: 4 kB / 0.6202 GB, free: 7.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007935/0.3769, allocations: 368.8 kB / 0.6206 GB, free: 6.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.3769, allocations: 8.75 kB / 0.6206 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.3769, allocations: 1.188 kB / 0.6206 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.3769, allocations: 2.438 kB / 0.6206 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.3773, allocations: 82.88 kB / 0.6206 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.3773, allocations: 5.156 kB / 0.6207 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.3778, allocations: 42.77 kB / 0.6207 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.3778, allocations: 13.88 kB / 0.6207 GB, free: 6.762 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.3779, allocations: 198.2 kB / 0.6209 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.592e-05/0.378, allocations: 54.25 kB / 0.6209 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009214/0.379, allocations: 416.5 kB / 0.6213 GB, free: 6.297 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.379, allocations: 6.688 kB / 0.6214 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.379, allocations: 5.656 kB / 0.6214 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.379, allocations: 0 / 0.6214 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.3804, allocations: 0.9657 MB / 0.6223 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3805, allocations: 2.188 kB / 0.6223 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.3807, allocations: 46.97 kB / 0.6223 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.3809, allocations: 42.05 kB / 0.6224 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.3809, allocations: 12.81 kB / 0.6224 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003106/0.3812, allocations: 0.5581 MB / 0.6229 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3812, allocations: 0.9688 kB / 0.6229 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.382, allocations: 0.4885 MB / 0.6234 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.3822, allocations: 148.4 kB / 0.6236 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.3822, allocations: 11.94 kB / 0.6236 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.3826, allocations: 27.97 kB / 0.6236 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.3827, allocations: 23.97 kB / 0.6236 GB, free: 4.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.3827, allocations: 15.98 kB / 0.6236 GB, free: 4.277 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003173/0.383, allocations: 318.9 kB / 0.6239 GB, free: 3.969 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.383, allocations: 0 / 0.6239 GB, free: 3.969 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007077/0.3837, allocations: 251.5 kB / 0.6242 GB, free: 3.723 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001356/0.3851, allocations: 1.173 MB / 0.6253 GB, free: 2.512 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.3863, allocations: 480 kB / 0.6258 GB, free: 2.047 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3863, allocations: 0 / 0.6258 GB, free: 2.047 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.3867, allocations: 172 kB / 0.626 GB, free: 1.879 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3877, allocations: 221.6 kB / 0.6262 GB, free: 1.672 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.3936, allocations: 4.067 MB / 0.6301 GB, free: 13.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.394, allocations: 0.8625 MB / 0.631 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.3944, allocations: 124 kB / 0.6311 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.3946, allocations: 175.4 kB / 0.6313 GB, free: 12.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3946, allocations: 0 / 0.6313 GB, free: 12.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.4264, allocations: 14.86 MB / 0.6458 GB, free: 13.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.76, allocations: 11.83 kB / 0.6458 GB, free: 13.75 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)