Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.CheckValve.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002493/0.002492, allocations: 357.4 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.526/1.526, allocations: 165.8 MB / 182.5 MB, free: 5.477 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.021/4.021, allocations: 410.7 MB / 0.5995 GB, free: 15.12 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001712/0.001711, allocations: 206.9 kB / 0.6662 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004599, allocations: 12 kB / 0.7423 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3356, allocations: 67.44 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02251/0.3581, allocations: 19 MB / 0.8267 GB, free: 9.746 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006213/0.3644, allocations: 4.295 MB / 0.8309 GB, free: 5.441 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.3652, allocations: 15.88 kB / 0.8309 GB, free: 5.426 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008136/0.3661, allocations: 246.5 kB / 0.8311 GB, free: 5.184 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.3688, allocations: 0.806 MB / 0.8319 GB, free: 4.375 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.3715, allocations: 0.7704 MB / 0.8327 GB, free: 3.621 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.3735, allocations: 1.543 MB / 0.8342 GB, free: 2.074 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005969/0.3741, allocations: 344.9 kB / 0.8345 GB, free: 1.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009471/0.3751, allocations: 497.8 kB / 0.835 GB, free: 1.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000576/0.3757, allocations: 426.2 kB / 0.8354 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.393e-05/0.3758, allocations: 20 kB / 0.8354 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.3767, allocations: 371.1 kB / 0.8358 GB, free: 452 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3769, allocations: 95.58 kB / 0.8359 GB, free: 356 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.377, allocations: 129.4 kB / 0.836 GB, free: 220 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007951/0.3778, allocations: 0.5144 MB / 0.8365 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.766e-06/0.3779, allocations: 0 / 0.8365 GB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.976e-06/0.3779, allocations: 0 / 0.8365 GB, free: 15.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3779, allocations: 0 / 0.8365 GB, free: 15.7 MB / 394.7 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.002754/0.3807, allocations: 0.8291 MB / 0.8373 GB, free: 14.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.3807, allocations: 8.031 kB / 0.8373 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.3811, allocations: 63.25 kB / 0.8374 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.3826, allocations: 434.9 kB / 0.8378 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/0.3827, allocations: 28.66 kB / 0.8378 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.3829, allocations: 32 kB / 0.8378 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3843, allocations: 317.9 kB / 0.8381 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.3843, allocations: 0 / 0.8381 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.3844, allocations: 16 kB / 0.8382 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.3844, allocations: 8 kB / 0.8382 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.3858, allocations: 278.4 kB / 0.8384 GB, free: 13.61 MB / 394.7 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.004815/0.3907, allocations: 1.353 MB / 0.8398 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.3919, allocations: 266.4 kB / 0.84 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007497/0.3927, allocations: 148.8 kB / 0.8402 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008566/0.3936, allocations: 0.4947 MB / 0.8406 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.3936, allocations: 34.78 kB / 0.8407 GB, free: 11.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 5.564e-06/0.3937, allocations: 0 / 0.8407 GB, free: 11.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.002424/0.3961, allocations: 0.59 MB / 0.8412 GB, free: 10.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.3962, allocations: 63.39 kB / 0.8413 GB, free: 10.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.397, allocations: 462 kB / 0.8417 GB, free: 9.922 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.397, allocations: 33.7 kB / 0.8418 GB, free: 9.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.3973, allocations: 240.5 kB / 0.842 GB, free: 9.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.3974, allocations: 90.73 kB / 0.8421 GB, free: 9.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.3975, allocations: 8 kB / 0.8421 GB, free: 9.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.3977, allocations: 354.8 kB / 0.8424 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.3981, allocations: 119.9 kB / 0.8426 GB, free: 9.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.3987, allocations: 189.2 kB / 0.8427 GB, free: 8.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.3992, allocations: 150.4 kB / 0.8429 GB, free: 8.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3992, allocations: 0 / 0.8429 GB, free: 8.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001436/0.4006, allocations: 426.3 kB / 0.8433 GB, free: 8.301 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/0.4007, allocations: 107.5 kB / 0.8434 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.107e-06/0.4008, allocations: 0 / 0.8434 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.4012, allocations: 56.81 kB / 0.8434 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/0.4017, allocations: 75.88 kB / 0.8435 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006432/0.4024, allocations: 0.5718 MB / 0.8441 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/0.403, allocations: 63.78 kB / 0.8441 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/0.4031, allocations: 27.91 kB / 0.8442 GB, free: 7.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4031, allocations: 6.656 kB / 0.8442 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001006/0.4042, allocations: 319.1 kB / 0.8445 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.36e-06/0.4042, allocations: 0 / 0.8445 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.313e-06/0.4042, allocations: 0 / 0.8445 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.4047, allocations: 83.89 kB / 0.8445 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4048, allocations: 7.984 kB / 0.8446 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.4054, allocations: 63.78 kB / 0.8446 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.4054, allocations: 12 kB / 0.8446 GB, free: 6.887 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.000367/0.4058, allocations: 260.9 kB / 0.8449 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4059, allocations: 47.42 kB / 0.8449 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.4073, allocations: 439.8 kB / 0.8453 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4073, allocations: 4 kB / 0.8453 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.512e-06/0.4073, allocations: 0 / 0.8453 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4074, allocations: 7.984 kB / 0.8454 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.4097, allocations: 0.9571 MB / 0.8463 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.4097, allocations: 4.125 kB / 0.8463 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.4101, allocations: 55.91 kB / 0.8463 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.4103, allocations: 40.83 kB / 0.8464 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.4104, allocations: 8 kB / 0.8464 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000537/0.4109, allocations: 0.5718 MB / 0.847 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.44e-06/0.411, allocations: 0 / 0.847 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.4121, allocations: 0.5029 MB / 0.8474 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.4125, allocations: 152.4 kB / 0.8476 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.081e-05/0.4126, allocations: 15.95 kB / 0.8476 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007665/0.4134, allocations: 47.8 kB / 0.8476 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4135, allocations: 23.97 kB / 0.8477 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.4136, allocations: 12 kB / 0.8477 GB, free: 3.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000546/0.4141, allocations: 318.9 kB / 0.848 GB, free: 3.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.434e-06/0.4141, allocations: 0 / 0.848 GB, free: 3.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009851/0.4151, allocations: 251.5 kB / 0.8482 GB, free: 3.035 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000594/0.4158, allocations: 251 kB / 0.8485 GB, free: 2.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.4174, allocations: 484.3 kB / 0.8489 GB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.841e-06/0.4174, allocations: 0 / 0.8489 GB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.418, allocations: 180 kB / 0.8491 GB, free: 2.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.4198, allocations: 247 kB / 0.8493 GB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.422, allocations: 0.9783 MB / 0.8503 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.4226, allocations: 0.8707 MB / 0.8511 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007455/0.4234, allocations: 116.6 kB / 0.8513 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.4236, allocations: 43.42 kB / 0.8513 GB, free: 15.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.637e-06/0.4236, allocations: 3.938 kB / 0.8513 GB, free: 15.82 MB / 410.7 MB Notification: Performance of Templates: time 0.02571/0.4493, allocations: 9.595 MB / 0.8607 GB, free: 6.379 MB / 410.7 MB