Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.0009859/0.000986, allocations: 108 kB / 15.61 MB, free: 152 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.001036/0.001036, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7342/0.7342, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.62 kB / 0.5019 GB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3342, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03087/0.3651, allocations: 30.76 MB / 0.6102 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.379, allocations: 10.84 MB / 0.6208 GB, free: 5.016 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.3801, allocations: 26.81 kB / 0.6208 GB, free: 5.004 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.3814, allocations: 396 kB / 0.6212 GB, free: 4.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.3843, allocations: 1.144 MB / 0.6223 GB, free: 3.754 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.3864, allocations: 0.846 MB / 0.6232 GB, free: 3.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00255/0.3889, allocations: 2.054 MB / 0.6252 GB, free: 1.957 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.39, allocations: 0.676 MB / 0.6258 GB, free: 1.527 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.3917, allocations: 0.98 MB / 0.6268 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007938/0.3925, allocations: 0.6701 MB / 0.6274 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.751e-05/0.3926, allocations: 55.28 kB / 0.6275 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.3937, allocations: 0.6156 MB / 0.6281 GB, free: 232 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.3939, allocations: 166.5 kB / 0.6283 GB, free: 96 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.3943, allocations: 437.6 kB / 0.6287 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.3955, allocations: 1.082 MB / 0.6297 GB, free: 14.63 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3955, allocations: 3.938 kB / 0.6297 GB, free: 14.63 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3955, allocations: 0 / 0.6297 GB, free: 14.63 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3955, allocations: 0 / 0.6297 GB, free: 14.63 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001716/0.3973, allocations: 1.164 MB / 0.6309 GB, free: 13.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3973, allocations: 12.03 kB / 0.6309 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.8e-05/0.3974, allocations: 94.7 kB / 0.631 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.3975, allocations: 91.81 kB / 0.6311 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007012/0.3982, allocations: 0.561 MB / 0.6316 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.3983, allocations: 41 kB / 0.6316 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.3984, allocations: 52 kB / 0.6317 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006962/0.3991, allocations: 410.4 kB / 0.6321 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3991, allocations: 0 / 0.6321 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.3991, allocations: 16 kB / 0.6321 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.3991, allocations: 12 kB / 0.6321 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.3998, allocations: 311.8 kB / 0.6324 GB, free: 11.78 MB / 478.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.002632/0.4025, allocations: 1.877 MB / 0.6342 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.4028, allocations: 162.5 kB / 0.6344 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.403, allocations: 84.81 kB / 0.6345 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/0.4033, allocations: 340.5 kB / 0.6348 GB, free: 9.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.4033, allocations: 34.56 kB / 0.6348 GB, free: 9.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/0.4033, allocations: 0 / 0.6348 GB, free: 9.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007407/0.4041, allocations: 310.3 kB / 0.6351 GB, free: 8.738 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.4041, allocations: 55.34 kB / 0.6352 GB, free: 8.672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006986/0.4048, allocations: 0.6843 MB / 0.6359 GB, free: 7.977 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.4049, allocations: 33.7 kB / 0.6359 GB, free: 7.938 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.4051, allocations: 364.7 kB / 0.6362 GB, free: 7.574 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.4052, allocations: 63.09 kB / 0.6363 GB, free: 7.512 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.4053, allocations: 93.95 kB / 0.6364 GB, free: 7.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4054, allocations: 378.7 kB / 0.6367 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.4057, allocations: 118.3 kB / 0.6369 GB, free: 6.918 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.406, allocations: 180.6 kB / 0.637 GB, free: 6.723 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.4065, allocations: 237.6 kB / 0.6373 GB, free: 6.484 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4065, allocations: 4 kB / 0.6373 GB, free: 6.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006983/0.4072, allocations: 393.8 kB / 0.6376 GB, free: 6.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4072, allocations: 8 kB / 0.6376 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4072, allocations: 4 kB / 0.6376 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4072, allocations: 4 kB / 0.6377 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.4083, allocations: 159.8 kB / 0.6378 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.4098, allocations: 2.367 MB / 0.6401 GB, free: 3.457 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.4103, allocations: 55.53 kB / 0.6402 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.4103, allocations: 20.23 kB / 0.6402 GB, free: 3.383 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003738/0.4107, allocations: 253.3 kB / 0.6404 GB, free: 3.133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002723/0.411, allocations: 174.7 kB / 0.6406 GB, free: 2.938 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004057/0.4114, allocations: 228.7 kB / 0.6408 GB, free: 2.703 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.4114, allocations: 0 / 0.6408 GB, free: 2.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006404/0.412, allocations: 380.8 kB / 0.6412 GB, free: 2.324 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.4121, allocations: 7.938 kB / 0.6412 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/0.4121, allocations: 0 / 0.6412 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.4121, allocations: 4 kB / 0.6412 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.4126, allocations: 103.9 kB / 0.6413 GB, free: 2.211 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4126, allocations: 3.984 kB / 0.6413 GB, free: 2.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.413, allocations: 39.72 kB / 0.6413 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.413, allocations: 19.94 kB / 0.6413 GB, free: 2.148 MB / 478.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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.4131, allocations: 196.5 kB / 0.6415 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.4132, allocations: 75.09 kB / 0.6416 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.4139, allocations: 319.6 kB / 0.6419 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4139, allocations: 0 / 0.6419 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4139, allocations: 4 kB / 0.6419 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.414, allocations: 7.984 kB / 0.6419 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.4151, allocations: 0.8875 MB / 0.6428 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4151, allocations: 0 / 0.6428 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.4154, allocations: 71.88 kB / 0.6429 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4154, allocations: 8.125 kB / 0.6429 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4154, allocations: 8 kB / 0.6429 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.4168, allocations: 2.352 MB / 0.6452 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4168, allocations: 0 / 0.6452 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.4173, allocations: 405.9 kB / 0.6456 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.4175, allocations: 168.1 kB / 0.6457 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.4176, allocations: 4 kB / 0.6457 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.4179, allocations: 19.97 kB / 0.6457 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.418, allocations: 27.86 kB / 0.6458 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.418, allocations: 8 kB / 0.6458 GB, free: 13.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004822/0.4185, allocations: 475 kB / 0.6462 GB, free: 12.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4185, allocations: 0 / 0.6462 GB, free: 12.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007639/0.4193, allocations: 351 kB / 0.6466 GB, free: 12.59 MB / 494.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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/0.4205, allocations: 1.066 MB / 0.6476 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.4221, allocations: 0.4993 MB / 0.6481 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4221, allocations: 0 / 0.6481 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.4225, allocations: 146 kB / 0.6482 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.424, allocations: 323.9 kB / 0.6485 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/0.43, allocations: 5.071 MB / 0.6535 GB, free: 5.359 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.4305, allocations: 0.9257 MB / 0.6544 GB, free: 4.406 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003972/0.4309, allocations: 116.1 kB / 0.6545 GB, free: 4.297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.4311, allocations: 259.3 kB / 0.6548 GB, free: 4.043 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4312, allocations: 0 / 0.6548 GB, free: 4.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.4729, allocations: 18.96 MB / 0.6733 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.17, allocations: 7.719 kB / 0.6733 GB, free: 1.5 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)