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.001094/0.001094, allocations: 108 kB / 15.6 MB, free: 132 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.001076/0.001076, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.128/1.128, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6296/0.6296, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 60.78 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.313, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02011/0.3332, allocations: 20.74 MB / 0.6004 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005864/0.3391, allocations: 4.954 MB / 0.6053 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.3397, allocations: 18.97 kB / 0.6053 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006903/0.3404, allocations: 272 kB / 0.6056 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.3422, allocations: 0.816 MB / 0.6064 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.3438, allocations: 0.6992 MB / 0.607 GB, free: 416 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001449/0.3452, allocations: 1.383 MB / 0.6084 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006033/0.3458, allocations: 440.3 kB / 0.6088 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009443/0.3468, allocations: 0.5642 MB / 0.6094 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.3474, allocations: 453.6 kB / 0.6098 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.3475, allocations: 37.56 kB / 0.6098 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.3486, allocations: 0.6381 MB / 0.6105 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.3488, allocations: 122.6 kB / 0.6106 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.349, allocations: 291.7 kB / 0.6109 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000914/0.35, allocations: 0.8354 MB / 0.6117 GB, free: 13.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.35, allocations: 1.094 kB / 0.6117 GB, free: 13.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.35, allocations: 0 / 0.6117 GB, free: 13.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.35, allocations: 0 / 0.6117 GB, free: 13.6 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.001289/0.3513, allocations: 0.9283 MB / 0.6126 GB, free: 12.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3513, allocations: 9.25 kB / 0.6126 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.42e-05/0.3514, allocations: 65.27 kB / 0.6126 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3515, allocations: 66.59 kB / 0.6127 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.352, allocations: 458.9 kB / 0.6131 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.3521, allocations: 27 kB / 0.6132 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.3521, allocations: 36.38 kB / 0.6132 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.3527, allocations: 306.8 kB / 0.6135 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3527, allocations: 0 / 0.6135 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.3527, allocations: 10.53 kB / 0.6135 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3527, allocations: 7 kB / 0.6135 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/0.3533, allocations: 262.8 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.001803/0.3551, allocations: 1.347 MB / 0.6151 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.3556, allocations: 253.8 kB / 0.6153 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.3559, allocations: 143.9 kB / 0.6155 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003806/0.3563, allocations: 0.4953 MB / 0.6159 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.3563, allocations: 40.64 kB / 0.616 GB, free: 10.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.3563, allocations: 0 / 0.616 GB, free: 10.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001575/0.3579, allocations: 0.5515 MB / 0.6165 GB, free: 9.695 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.3579, allocations: 58.81 kB / 0.6166 GB, free: 9.629 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.3584, allocations: 469.8 kB / 0.617 GB, free: 9.344 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3584, allocations: 36.02 kB / 0.6171 GB, free: 9.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3586, allocations: 238.9 kB / 0.6173 GB, free: 9.094 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.3586, allocations: 89.44 kB / 0.6174 GB, free: 9.016 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3587, allocations: 77.36 kB / 0.6174 GB, free: 8.965 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3589, allocations: 357.8 kB / 0.6178 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.3591, allocations: 123.5 kB / 0.6179 GB, free: 8.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.3595, allocations: 173.4 kB / 0.6181 GB, free: 8.445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.36, allocations: 282.8 kB / 0.6183 GB, free: 8.297 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.36, allocations: 0 / 0.6183 GB, free: 8.297 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001422/0.3615, allocations: 485.7 kB / 0.6188 GB, free: 8.066 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3615, allocations: 5.438 kB / 0.6188 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3615, allocations: 1.156 kB / 0.6188 GB, free: 8.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.3618, allocations: 62.31 kB / 0.6189 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.3621, allocations: 65.45 kB / 0.6189 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003334/0.3625, allocations: 0.5678 MB / 0.6195 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.3629, allocations: 53.72 kB / 0.6195 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3629, allocations: 14.55 kB / 0.6196 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003633/0.3633, allocations: 238.3 kB / 0.6198 GB, free: 7.262 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003062/0.3636, allocations: 179.3 kB / 0.62 GB, free: 7.145 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005365/0.3641, allocations: 269.6 kB / 0.6202 GB, free: 7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.3641, allocations: 0 / 0.6202 GB, free: 7 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006923/0.3648, allocations: 368.3 kB / 0.6206 GB, free: 6.816 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.914e-06/0.3649, allocations: 13.22 kB / 0.6206 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.3649, allocations: 1.25 kB / 0.6206 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.3649, allocations: 2.469 kB / 0.6206 GB, free: 6.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.3652, allocations: 74.52 kB / 0.6206 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3652, allocations: 2.344 kB / 0.6206 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.3656, allocations: 47.17 kB / 0.6207 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.3656, allocations: 17.02 kB / 0.6207 GB, free: 6.758 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.0001038/0.3657, allocations: 202.1 kB / 0.6209 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.3658, allocations: 53.69 kB / 0.621 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008373/0.3667, allocations: 412.3 kB / 0.6213 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3667, allocations: 7.203 kB / 0.6214 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3667, allocations: 0 / 0.6214 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3667, allocations: 1.062 kB / 0.6214 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.368, allocations: 0.9593 MB / 0.6223 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.738e-06/0.368, allocations: 1.344 kB / 0.6223 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.3682, allocations: 54.55 kB / 0.6223 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.3684, allocations: 42.83 kB / 0.6224 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.3684, allocations: 8.438 kB / 0.6224 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002721/0.3687, allocations: 0.5542 MB / 0.6229 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3687, allocations: 5.188 kB / 0.6229 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.3694, allocations: 498.8 kB / 0.6234 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.3696, allocations: 156.4 kB / 0.6236 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.3696, allocations: 11.94 kB / 0.6236 GB, free: 4.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.3699, allocations: 23.97 kB / 0.6236 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.37, allocations: 27.91 kB / 0.6236 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.37, allocations: 8 kB / 0.6236 GB, free: 4.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002808/0.3703, allocations: 326.9 kB / 0.6239 GB, free: 3.934 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3703, allocations: 4 kB / 0.6239 GB, free: 3.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005859/0.3709, allocations: 251.5 kB / 0.6242 GB, free: 3.684 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.001199/0.3721, allocations: 1.169 MB / 0.6253 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.3731, allocations: 484.1 kB / 0.6258 GB, free: 2.008 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3732, allocations: 0 / 0.6258 GB, free: 2.008 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.3735, allocations: 163.8 kB / 0.6259 GB, free: 1.848 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.3745, allocations: 220 kB / 0.6262 GB, free: 1.645 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.3798, allocations: 4.085 MB / 0.6301 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3801, allocations: 0.8548 MB / 0.631 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.3805, allocations: 116.1 kB / 0.6311 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.3806, allocations: 183.4 kB / 0.6313 GB, free: 12.27 MB / 478.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3807, allocations: 0 / 0.6313 GB, free: 12.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.609/6.989, allocations: 14.86 MB / 0.6458 GB, free: 13.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/22.94, allocations: 14.2 kB / 0.6458 GB, free: 13.72 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)