Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_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.0008267/0.0008267, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004926/0.004926, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.257/1.257, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8494/0.8494, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 8.719 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.2437/0.3744, allocations: 20.05 MB / 0.6076 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004978/0.3794, allocations: 4.923 MB / 0.6125 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.3798, allocations: 19.91 kB / 0.6125 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005346/0.3804, allocations: 223.2 kB / 0.6127 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.3818, allocations: 0.7452 MB / 0.6134 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.383, allocations: 0.6478 MB / 0.614 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.3842, allocations: 1.804 MB / 0.6158 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.3846, allocations: 374.5 kB / 0.6162 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000581/0.3851, allocations: 0.521 MB / 0.6167 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.3855, allocations: 449.5 kB / 0.6171 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.3856, allocations: 17.53 kB / 0.6171 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.3863, allocations: 0.5983 MB / 0.6177 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.3864, allocations: 100.6 kB / 0.6178 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.3866, allocations: 297 kB / 0.6181 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006582/0.3873, allocations: 0.8118 MB / 0.6189 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3873, allocations: 0 / 0.6189 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3873, allocations: 0 / 0.6189 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.3873, allocations: 0 / 0.6189 GB, free: 33.3 MB / 0.4981 GB 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.001053/0.3884, allocations: 0.8315 MB / 0.6197 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.3884, allocations: 12.59 kB / 0.6197 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.3885, allocations: 68.05 kB / 0.6198 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.3885, allocations: 68.58 kB / 0.6198 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.389, allocations: 450 kB / 0.6203 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.389, allocations: 27.84 kB / 0.6203 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.3891, allocations: 33.44 kB / 0.6203 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.3896, allocations: 321.1 kB / 0.6206 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3896, allocations: 0 / 0.6206 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.3896, allocations: 14.5 kB / 0.6206 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3896, allocations: 6.562 kB / 0.6206 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.3902, allocations: 279 kB / 0.6209 GB, free: 32.32 MB / 0.4981 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.001553/0.3917, allocations: 1.365 MB / 0.6222 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.3921, allocations: 267.2 kB / 0.6225 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.3924, allocations: 150 kB / 0.6226 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.3927, allocations: 0.4916 MB / 0.6231 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.3927, allocations: 36.69 kB / 0.6232 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.3927, allocations: 4 kB / 0.6232 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.00145/0.3942, allocations: 0.5921 MB / 0.6237 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.3942, allocations: 54.62 kB / 0.6238 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.3946, allocations: 466 kB / 0.6242 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.3946, allocations: 37.3 kB / 0.6243 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3947, allocations: 248.9 kB / 0.6245 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.3948, allocations: 80.5 kB / 0.6246 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.3948, allocations: 38.8 kB / 0.6246 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.3949, allocations: 355.4 kB / 0.625 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.3951, allocations: 131.5 kB / 0.6251 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.3954, allocations: 181.4 kB / 0.6253 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/0.396, allocations: 308.9 kB / 0.6256 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.396, allocations: 0 / 0.6256 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0013/0.3973, allocations: 0.4935 MB / 0.626 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.3973, allocations: 110.7 kB / 0.6261 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3973, allocations: 7.125 kB / 0.6261 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.3976, allocations: 53.52 kB / 0.6262 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.3979, allocations: 81.84 kB / 0.6263 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002542/0.3982, allocations: 0.5569 MB / 0.6268 GB, free: 29.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.3986, allocations: 71.56 kB / 0.6269 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.3987, allocations: 12.64 kB / 0.6269 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-06/0.3987, allocations: 2.875 kB / 0.6269 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005977/0.3993, allocations: 324.2 kB / 0.6272 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-06/0.3993, allocations: 0 / 0.6272 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.3993, allocations: 2.719 kB / 0.6272 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.3996, allocations: 89.69 kB / 0.6273 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.3996, allocations: 3.25 kB / 0.6273 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.4, allocations: 60.25 kB / 0.6274 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.4, allocations: 22.91 kB / 0.6274 GB, free: 29.18 MB / 0.4981 GB 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.0001506/0.4002, allocations: 240.2 kB / 0.6276 GB, free: 28.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.4003, allocations: 55.48 kB / 0.6277 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007893/0.401, allocations: 441.7 kB / 0.6281 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.4011, allocations: 3.031 kB / 0.6281 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4011, allocations: 3.938 kB / 0.6281 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4011, allocations: 3.422 kB / 0.6281 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.4022, allocations: 0.9706 MB / 0.629 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4022, allocations: 3.938 kB / 0.6291 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.4024, allocations: 56.75 kB / 0.6291 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001325/0.4026, allocations: 40.27 kB / 0.6291 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4026, allocations: 6.062 kB / 0.6291 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001972/0.4028, allocations: 0.5705 MB / 0.6297 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4028, allocations: 3.938 kB / 0.6297 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.4034, allocations: 0.5055 MB / 0.6302 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.4036, allocations: 160.3 kB / 0.6304 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.047e-05/0.4036, allocations: 6.625 kB / 0.6304 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.404, allocations: 53.5 kB / 0.6304 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.404, allocations: 23.03 kB / 0.6304 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.4041, allocations: 14.88 kB / 0.6304 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002441/0.4043, allocations: 322.7 kB / 0.6308 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4043, allocations: 0 / 0.6308 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006197/0.4049, allocations: 255.7 kB / 0.631 GB, free: 27.45 MB / 0.4981 GB 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.00106/0.406, allocations: 1.183 MB / 0.6322 GB, free: 26.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009428/0.407, allocations: 0.4902 MB / 0.6326 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.407, allocations: 0 / 0.6326 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.4073, allocations: 184.2 kB / 0.6328 GB, free: 26.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.4086, allocations: 251.2 kB / 0.6331 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.4137, allocations: 4.305 MB / 0.6373 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.4139, allocations: 0.8584 MB / 0.6381 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003802/0.4143, allocations: 120 kB / 0.6382 GB, free: 23.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.4145, allocations: 171.1 kB / 0.6384 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.4145, allocations: 4 kB / 0.6384 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4692/0.8838, allocations: 14.41 MB / 0.6524 GB, free: 21.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/0.8839, allocations: 268.3 kB / 0.6527 GB, free: 21.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/3.07, allocations: 0 / 0.6527 GB, free: 21.5 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)