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.0008342/0.0008343, allocations: 89.89 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.004871/0.004871, allocations: 171.2 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.153/1.153, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6601/0.6601, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002835, allocations: 9.031 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3295, allocations: 81.57 MB / 0.5837 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.0178/0.3474, allocations: 20.06 MB / 0.6033 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005997/0.3534, allocations: 4.924 MB / 0.6081 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.3538, allocations: 15.47 kB / 0.6082 GB, free: 1.602 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.3544, allocations: 221.6 kB / 0.6084 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.3559, allocations: 0.748 MB / 0.6091 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.3573, allocations: 0.6387 MB / 0.6097 GB, free: 380 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.3589, allocations: 1.814 MB / 0.6115 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004457/0.3594, allocations: 369.6 kB / 0.6118 GB, free: 15.15 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007323/0.3601, allocations: 0.5203 MB / 0.6124 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.3606, allocations: 446 kB / 0.6128 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.3607, allocations: 24.47 kB / 0.6128 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008813/0.3616, allocations: 0.6029 MB / 0.6134 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.3617, allocations: 106.2 kB / 0.6135 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.3619, allocations: 295.8 kB / 0.6138 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008385/0.3628, allocations: 0.8086 MB / 0.6146 GB, free: 13.47 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3628, allocations: 1.438 kB / 0.6146 GB, free: 13.47 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3628, allocations: 0 / 0.6146 GB, free: 13.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3628, allocations: 0 / 0.6146 GB, free: 13.47 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.001243/0.3641, allocations: 0.8275 MB / 0.6154 GB, free: 12.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3641, allocations: 10 kB / 0.6154 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.82e-05/0.3642, allocations: 67.91 kB / 0.6155 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.3643, allocations: 63.56 kB / 0.6155 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.3648, allocations: 454.9 kB / 0.6159 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.3648, allocations: 27.72 kB / 0.616 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.3649, allocations: 31.16 kB / 0.616 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.3655, allocations: 325.2 kB / 0.6163 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3655, allocations: 0 / 0.6163 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.3656, allocations: 15.31 kB / 0.6163 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3656, allocations: 6.094 kB / 0.6163 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006047/0.3662, allocations: 282.4 kB / 0.6166 GB, free: 11.95 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.001871/0.3681, allocations: 1.354 MB / 0.6179 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.3686, allocations: 266.5 kB / 0.6182 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.3689, allocations: 157.8 kB / 0.6183 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.3692, allocations: 0.4989 MB / 0.6188 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.3693, allocations: 36.69 kB / 0.6189 GB, free: 9.957 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/0.3693, allocations: 0 / 0.6189 GB, free: 9.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001628/0.3709, allocations: 0.5856 MB / 0.6194 GB, free: 9.625 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.3709, allocations: 58.92 kB / 0.6195 GB, free: 9.559 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.3714, allocations: 465.1 kB / 0.6199 GB, free: 9.277 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3715, allocations: 40.73 kB / 0.62 GB, free: 9.234 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3716, allocations: 239.1 kB / 0.6202 GB, free: 9.023 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.3717, allocations: 93.31 kB / 0.6203 GB, free: 8.941 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.3717, allocations: 36.42 kB / 0.6203 GB, free: 8.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3719, allocations: 357.8 kB / 0.6207 GB, free: 8.562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.3722, allocations: 119.5 kB / 0.6208 GB, free: 8.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.3725, allocations: 191.3 kB / 0.6209 GB, free: 8.398 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005946/0.3731, allocations: 305.7 kB / 0.6212 GB, free: 8.246 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3731, allocations: 5.25 kB / 0.6212 GB, free: 8.242 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001426/0.3746, allocations: 0.4933 MB / 0.6217 GB, free: 8.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.3746, allocations: 113.6 kB / 0.6218 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3746, allocations: 0 / 0.6218 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.375, allocations: 62.7 kB / 0.6219 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.3753, allocations: 75.61 kB / 0.622 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003554/0.3757, allocations: 0.5674 MB / 0.6225 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.3761, allocations: 65.73 kB / 0.6226 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.3762, allocations: 13.66 kB / 0.6226 GB, free: 7.242 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.633e-06/0.3762, allocations: 4.531 kB / 0.6226 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006872/0.3769, allocations: 317.2 kB / 0.6229 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.3769, allocations: 0 / 0.6229 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-06/0.3769, allocations: 2.281 kB / 0.6229 GB, free: 7.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.3772, allocations: 84.22 kB / 0.623 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.3773, allocations: 5.906 kB / 0.623 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.3777, allocations: 72.23 kB / 0.6231 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.3777, allocations: 17.5 kB / 0.6231 GB, free: 7.039 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.0001878/0.3779, allocations: 248 kB / 0.6233 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.378, allocations: 44.97 kB / 0.6234 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008954/0.3789, allocations: 442.6 kB / 0.6238 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3789, allocations: 11.39 kB / 0.6238 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3789, allocations: 4.875 kB / 0.6238 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3789, allocations: 144 / 0.6238 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.3803, allocations: 0.9673 MB / 0.6247 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.3803, allocations: 0 / 0.6247 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.3805, allocations: 55.94 kB / 0.6248 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.3806, allocations: 48.77 kB / 0.6248 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3807, allocations: 8 kB / 0.6248 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002771/0.381, allocations: 0.5563 MB / 0.6254 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.381, allocations: 7.969 kB / 0.6254 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.3817, allocations: 0.5129 MB / 0.6259 GB, free: 4.434 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.3819, allocations: 164.3 kB / 0.6261 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.3819, allocations: 8 kB / 0.6261 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.3823, allocations: 47.81 kB / 0.6261 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.3824, allocations: 23.91 kB / 0.6261 GB, free: 4.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.3824, allocations: 11.98 kB / 0.6261 GB, free: 4.164 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002968/0.3827, allocations: 326.9 kB / 0.6265 GB, free: 3.848 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3827, allocations: 0 / 0.6265 GB, free: 3.848 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006599/0.3834, allocations: 243.6 kB / 0.6267 GB, free: 3.609 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.001287/0.3847, allocations: 1.191 MB / 0.6279 GB, free: 2.383 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.3857, allocations: 493.2 kB / 0.6283 GB, free: 1.902 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3857, allocations: 4 kB / 0.6283 GB, free: 1.898 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.3861, allocations: 176.1 kB / 0.6285 GB, free: 1.727 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.3875, allocations: 252.9 kB / 0.6287 GB, free: 1.488 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.3932, allocations: 4.311 MB / 0.6329 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.3936, allocations: 0.8591 MB / 0.6338 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003827/0.3939, allocations: 116.2 kB / 0.6339 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.3941, allocations: 171.4 kB / 0.6341 GB, free: 11.89 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3942, allocations: 0 / 0.6341 GB, free: 11.89 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.565/1.959, allocations: 14.42 MB / 0.6481 GB, free: 13.83 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/1.959, allocations: 262.9 kB / 0.6484 GB, free: 13.51 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/4.891, allocations: 0 / 0.6484 GB, free: 13.51 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)