Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002457/0.002462, allocations: 356.9 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.818/1.818, allocations: 165.8 MB / 182.5 MB, free: 5.449 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.146/4.146, allocations: 410.8 MB / 0.5995 GB, free: 15.19 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.001706/0.001705, allocations: 205.1 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004787, allocations: 23.98 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3342, allocations: 67.44 MB / 0.8082 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02105/0.3553, allocations: 14.35 MB / 0.8222 GB, free: 14.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.3741, allocations: 6.555 MB / 0.8286 GB, free: 7.816 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.3753, allocations: 19.81 kB / 0.8286 GB, free: 7.797 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.3772, allocations: 298.4 kB / 0.8289 GB, free: 7.504 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.3809, allocations: 0.6058 MB / 0.8295 GB, free: 6.895 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01127/0.3922, allocations: 1.921 MB / 0.8313 GB, free: 5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.3948, allocations: 1.122 MB / 0.8324 GB, free: 3.871 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007369/0.3955, allocations: 258.4 kB / 0.8327 GB, free: 3.617 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.3966, allocations: 350.4 kB / 0.833 GB, free: 3.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006733/0.3973, allocations: 294.7 kB / 0.8333 GB, free: 2.984 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.3974, allocations: 12 kB / 0.8333 GB, free: 2.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.399, allocations: 375.2 kB / 0.8337 GB, free: 2.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.3992, allocations: 75.62 kB / 0.8337 GB, free: 2.531 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.3994, allocations: 105.5 kB / 0.8338 GB, free: 2.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008435/0.4002, allocations: 478.9 kB / 0.8343 GB, free: 1.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.184e-06/0.4003, allocations: 4 kB / 0.8343 GB, free: 1.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.393e-06/0.4003, allocations: 0 / 0.8343 GB, free: 1.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.4003, allocations: 0 / 0.8343 GB, free: 1.949 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001071/0.4014, allocations: 0.7395 MB / 0.835 GB, free: 1.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.4014, allocations: 12.03 kB / 0.835 GB, free: 1.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.4015, allocations: 59.34 kB / 0.8351 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.4021, allocations: 389 kB / 0.8355 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.4022, allocations: 20.44 kB / 0.8355 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.4022, allocations: 31.95 kB / 0.8355 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.4027, allocations: 215.2 kB / 0.8357 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4027, allocations: 0 / 0.8357 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.4028, allocations: 4 kB / 0.8357 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.872e-06/0.4028, allocations: 12 kB / 0.8357 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.4033, allocations: 173.6 kB / 0.8359 GB, free: 224 kB / 378.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.002099/0.4054, allocations: 0.9458 MB / 0.8368 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.4058, allocations: 142.5 kB / 0.837 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.406, allocations: 76.81 kB / 0.837 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/0.4065, allocations: 336.4 kB / 0.8373 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4065, allocations: 34.56 kB / 0.8374 GB, free: 14.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 5.085e-06/0.4066, allocations: 4 kB / 0.8374 GB, free: 14.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008889/0.4075, allocations: 253 kB / 0.8376 GB, free: 14.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.4075, allocations: 59.41 kB / 0.8377 GB, free: 14.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.4083, allocations: 473.8 kB / 0.8381 GB, free: 13.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/0.4084, allocations: 33.7 kB / 0.8382 GB, free: 13.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.4086, allocations: 228.6 kB / 0.8384 GB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.4087, allocations: 43.3 kB / 0.8384 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.4087, allocations: 8 kB / 0.8384 GB, free: 13.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4089, allocations: 346.8 kB / 0.8388 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.4092, allocations: 75.95 kB / 0.8388 GB, free: 12.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.4096, allocations: 149.7 kB / 0.839 GB, free: 12.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.4099, allocations: 79.97 kB / 0.8391 GB, free: 12.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-06/0.4099, allocations: 3.938 kB / 0.8391 GB, free: 12.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008163/0.4107, allocations: 268.9 kB / 0.8393 GB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.848e-05/0.4108, allocations: 106.7 kB / 0.8394 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.267e-06/0.4108, allocations: 0 / 0.8394 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4109, allocations: 4 kB / 0.8394 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.4113, allocations: 43.97 kB / 0.8395 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4113, allocations: 8 kB / 0.8395 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.4118, allocations: 43.75 kB / 0.8395 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.4118, allocations: 8 kB / 0.8395 GB, free: 12.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.4119, allocations: 11.53 kB / 0.8395 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00061/0.4125, allocations: 195.8 kB / 0.8397 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4125, allocations: 4 kB / 0.8397 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.645e-06/0.4125, allocations: 0 / 0.8397 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.4128, allocations: 43.97 kB / 0.8398 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.336e-06/0.4128, allocations: 4 kB / 0.8398 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.4133, allocations: 43.81 kB / 0.8398 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.4133, allocations: 4 kB / 0.8398 GB, free: 11.94 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003244/0.4137, allocations: 250.1 kB / 0.8401 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.4138, allocations: 39.44 kB / 0.8401 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007589/0.4146, allocations: 269.1 kB / 0.8403 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4146, allocations: 3.984 kB / 0.8404 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.183e-06/0.4146, allocations: 0 / 0.8404 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4146, allocations: 4 kB / 0.8404 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.4161, allocations: 0.7147 MB / 0.8411 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.989e-06/0.4161, allocations: 4.125 kB / 0.8411 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.4163, allocations: 31.98 kB / 0.8411 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.4163, allocations: 4 kB / 0.8411 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.4164, allocations: 8 kB / 0.8411 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.041e-06/0.4164, allocations: 7.891 kB / 0.8411 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4164, allocations: 0 / 0.8411 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.4171, allocations: 346.8 kB / 0.8414 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.4173, allocations: 144.5 kB / 0.8416 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.4174, allocations: 8 kB / 0.8416 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.4177, allocations: 23.97 kB / 0.8416 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.4178, allocations: 19.88 kB / 0.8416 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.4178, allocations: 8 kB / 0.8416 GB, free: 9.945 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005204/0.4184, allocations: 330.9 kB / 0.8419 GB, free: 9.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.4184, allocations: 0 / 0.8419 GB, free: 9.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008886/0.4193, allocations: 199.6 kB / 0.8421 GB, free: 9.43 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001599/0.4209, allocations: 477.9 kB / 0.8426 GB, free: 9.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009347/0.4219, allocations: 286.4 kB / 0.8429 GB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.486e-06/0.4219, allocations: 0 / 0.8429 GB, free: 8.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.4222, allocations: 87.89 kB / 0.843 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.4239, allocations: 218.6 kB / 0.8432 GB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.4256, allocations: 0.8377 MB / 0.844 GB, free: 7.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.4263, allocations: 0.8311 MB / 0.8448 GB, free: 6.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000486/0.4268, allocations: 91.17 kB / 0.8449 GB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4269, allocations: 39.42 kB / 0.8449 GB, free: 6.664 MB / 394.7 MB Notification: Performance of SimCode: time 1.899e-06/0.4269, allocations: 0 / 0.8449 GB, free: 6.664 MB / 394.7 MB Notification: Performance of Templates: time 0.02186/0.4488, allocations: 8.105 MB / 0.8528 GB, free: 14.67 MB / 410.7 MB