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.001463/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001754/0.001754, allocations: 195 kB / 16.14 MB, free: 6.664 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6647/0.6647, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.001101, allocations: 55.06 kB / 0.5012 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3321, allocations: 80.21 MB / 0.5795 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01866/0.3508, allocations: 20.66 MB / 0.5997 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006281/0.3572, allocations: 4.98 MB / 0.6045 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006102/0.3578, allocations: 16.22 kB / 0.6046 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006925/0.3585, allocations: 225.7 kB / 0.6048 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.3602, allocations: 0.7521 MB / 0.6055 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.3618, allocations: 0.638 MB / 0.6061 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.3635, allocations: 1.807 MB / 0.6079 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.364, allocations: 384 kB / 0.6083 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007976/0.3648, allocations: 0.522 MB / 0.6088 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.3653, allocations: 461.5 kB / 0.6092 GB, free: 15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.3654, allocations: 23.19 kB / 0.6092 GB, free: 15 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.3664, allocations: 0.6017 MB / 0.6098 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.3665, allocations: 118 kB / 0.6099 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.3668, allocations: 271.9 kB / 0.6102 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008803/0.3676, allocations: 0.8081 MB / 0.611 GB, free: 13.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3677, allocations: 0 / 0.611 GB, free: 13.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3677, allocations: 1.406 kB / 0.611 GB, free: 13.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3677, allocations: 0 / 0.611 GB, free: 13.89 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.001429/0.3691, allocations: 0.9312 MB / 0.6119 GB, free: 13.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3692, allocations: 9.219 kB / 0.6119 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.124e-05/0.3692, allocations: 65.08 kB / 0.612 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.3694, allocations: 63.31 kB / 0.612 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.3699, allocations: 455 kB / 0.6125 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3699, allocations: 30.62 kB / 0.6125 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.035e-05/0.37, allocations: 31.47 kB / 0.6125 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.3706, allocations: 311.2 kB / 0.6128 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3706, allocations: 1.125 kB / 0.6128 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.3707, allocations: 10.22 kB / 0.6128 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3707, allocations: 6.562 kB / 0.6128 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.3713, allocations: 267 kB / 0.6131 GB, free: 12.29 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.00194/0.3732, allocations: 1.337 MB / 0.6144 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/0.3737, allocations: 249.6 kB / 0.6146 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.374, allocations: 144.6 kB / 0.6148 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/0.3744, allocations: 0.4951 MB / 0.6152 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3745, allocations: 35.59 kB / 0.6153 GB, free: 10.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.462e-06/0.3745, allocations: 0 / 0.6153 GB, free: 10.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001637/0.3761, allocations: 0.5604 MB / 0.6158 GB, free: 9.984 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.3762, allocations: 54.62 kB / 0.6159 GB, free: 9.922 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.3766, allocations: 465.5 kB / 0.6163 GB, free: 9.641 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3767, allocations: 39.77 kB / 0.6164 GB, free: 9.598 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.3768, allocations: 243.7 kB / 0.6166 GB, free: 9.383 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.3769, allocations: 84.5 kB / 0.6167 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.377, allocations: 78.62 kB / 0.6167 GB, free: 9.258 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3772, allocations: 358 kB / 0.6171 GB, free: 8.91 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.3775, allocations: 115.1 kB / 0.6172 GB, free: 8.855 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.3779, allocations: 186.1 kB / 0.6174 GB, free: 8.734 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.3787, allocations: 274.2 kB / 0.6176 GB, free: 8.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3787, allocations: 0 / 0.6176 GB, free: 8.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001432/0.3801, allocations: 486 kB / 0.6181 GB, free: 8.359 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3801, allocations: 13.38 kB / 0.6181 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3802, allocations: 0 / 0.6181 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/0.3805, allocations: 62.3 kB / 0.6182 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.3809, allocations: 70.3 kB / 0.6182 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003844/0.3812, allocations: 0.5713 MB / 0.6188 GB, free: 7.734 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.3817, allocations: 56.8 kB / 0.6189 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.3818, allocations: 18.61 kB / 0.6189 GB, free: 7.695 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003913/0.3822, allocations: 241.3 kB / 0.6191 GB, free: 7.535 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003243/0.3825, allocations: 175.4 kB / 0.6193 GB, free: 7.422 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005345/0.3831, allocations: 266.2 kB / 0.6195 GB, free: 7.285 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.3831, allocations: 0 / 0.6195 GB, free: 7.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007303/0.3838, allocations: 372.9 kB / 0.6199 GB, free: 7.098 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.497e-06/0.3838, allocations: 8.156 kB / 0.6199 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.3838, allocations: 1.469 kB / 0.6199 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-06/0.3838, allocations: 1.5 kB / 0.6199 GB, free: 7.094 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.3842, allocations: 78.98 kB / 0.62 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.3842, allocations: 2.125 kB / 0.62 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.3847, allocations: 60.78 kB / 0.62 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.3847, allocations: 18.08 kB / 0.62 GB, free: 7.031 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.0001303/0.3848, allocations: 198.1 kB / 0.6202 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.599e-05/0.3849, allocations: 57.53 kB / 0.6203 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009152/0.3859, allocations: 406.8 kB / 0.6207 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.629e-06/0.3859, allocations: 3.25 kB / 0.6207 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3859, allocations: 0.9062 kB / 0.6207 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3859, allocations: 3.984 kB / 0.6207 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.3873, allocations: 0.95 MB / 0.6216 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3873, allocations: 1.344 kB / 0.6216 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.3876, allocations: 51.38 kB / 0.6217 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001656/0.3877, allocations: 55.14 kB / 0.6217 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.3878, allocations: 7.344 kB / 0.6217 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003082/0.3881, allocations: 0.5665 MB / 0.6223 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3881, allocations: 1.375 kB / 0.6223 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/0.3888, allocations: 495.4 kB / 0.6227 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.389, allocations: 156.3 kB / 0.6229 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.389, allocations: 15.92 kB / 0.6229 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.3894, allocations: 35.91 kB / 0.6229 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.3895, allocations: 23.97 kB / 0.623 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.3895, allocations: 11.98 kB / 0.623 GB, free: 4.473 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003226/0.3898, allocations: 326.9 kB / 0.6233 GB, free: 4.156 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3898, allocations: 0 / 0.6233 GB, free: 4.156 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007056/0.3905, allocations: 247.5 kB / 0.6235 GB, free: 3.914 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.001334/0.3919, allocations: 1.18 MB / 0.6247 GB, free: 2.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3929, allocations: 461.8 kB / 0.6251 GB, free: 2.254 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3929, allocations: 0 / 0.6251 GB, free: 2.254 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.3933, allocations: 167.8 kB / 0.6253 GB, free: 2.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.3946, allocations: 254.5 kB / 0.6255 GB, free: 1.852 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.4004, allocations: 4.227 MB / 0.6296 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.4008, allocations: 0.8513 MB / 0.6305 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004403/0.4012, allocations: 123.7 kB / 0.6306 GB, free: 12.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.4014, allocations: 175.4 kB / 0.6308 GB, free: 12.34 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4014, allocations: 0 / 0.6308 GB, free: 12.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.328/2.73, allocations: 14.58 MB / 0.645 GB, free: 14.09 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/2.73, allocations: 261.3 kB / 0.6452 GB, free: 13.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/5.025, allocations: 0 / 0.6452 GB, free: 13.76 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)