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.001051/0.001051, allocations: 108 kB / 15.6 MB, free: 132 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.0009518/0.0009518, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.212/1.212, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7079/0.7079, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.66 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3245, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02708/0.3516, allocations: 30.76 MB / 0.6102 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.3636, allocations: 10.84 MB / 0.6208 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000885/0.3645, allocations: 26 kB / 0.6208 GB, free: 5.008 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009149/0.3655, allocations: 392.3 kB / 0.6212 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.3679, allocations: 1.156 MB / 0.6223 GB, free: 3.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.3697, allocations: 0.8461 MB / 0.6232 GB, free: 3.109 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001928/0.3717, allocations: 2.054 MB / 0.6252 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007598/0.3724, allocations: 0.6752 MB / 0.6258 GB, free: 1.523 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.3739, allocations: 0.9804 MB / 0.6268 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.3746, allocations: 0.6659 MB / 0.6274 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.353e-05/0.3747, allocations: 55.47 kB / 0.6275 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3758, allocations: 0.6162 MB / 0.6281 GB, free: 232 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.3759, allocations: 169.8 kB / 0.6283 GB, free: 92 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.3763, allocations: 430.3 kB / 0.6287 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.3774, allocations: 1.09 MB / 0.6297 GB, free: 14.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3774, allocations: 0 / 0.6297 GB, free: 14.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3774, allocations: 0 / 0.6297 GB, free: 14.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3774, allocations: 0 / 0.6297 GB, free: 14.64 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.00151/0.3789, allocations: 1.164 MB / 0.6309 GB, free: 13.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.379, allocations: 12.03 kB / 0.6309 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.76e-05/0.3791, allocations: 90.7 kB / 0.631 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.3792, allocations: 91.81 kB / 0.6311 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.3798, allocations: 0.561 MB / 0.6316 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.3799, allocations: 41 kB / 0.6316 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.38, allocations: 52 kB / 0.6317 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.3806, allocations: 414.4 kB / 0.6321 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3806, allocations: 0 / 0.6321 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.3807, allocations: 19.94 kB / 0.6321 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3807, allocations: 15.98 kB / 0.6321 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/0.3812, allocations: 311.8 kB / 0.6324 GB, free: 11.79 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.002431/0.3837, allocations: 1.869 MB / 0.6342 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.384, allocations: 162.5 kB / 0.6344 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.3842, allocations: 88.75 kB / 0.6345 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.3844, allocations: 336.5 kB / 0.6348 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3845, allocations: 34.55 kB / 0.6348 GB, free: 9.059 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.3845, allocations: 8 kB / 0.6348 GB, free: 9.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006494/0.3851, allocations: 298.8 kB / 0.6351 GB, free: 8.754 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.3852, allocations: 55.5 kB / 0.6352 GB, free: 8.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.3858, allocations: 0.6881 MB / 0.6359 GB, free: 7.988 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.3859, allocations: 33.7 kB / 0.6359 GB, free: 7.949 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.3861, allocations: 360.7 kB / 0.6362 GB, free: 7.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.3862, allocations: 67.09 kB / 0.6363 GB, free: 7.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3863, allocations: 93.95 kB / 0.6364 GB, free: 7.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3864, allocations: 378.7 kB / 0.6367 GB, free: 7.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.3867, allocations: 114.2 kB / 0.6369 GB, free: 6.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.387, allocations: 188.6 kB / 0.637 GB, free: 6.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.3874, allocations: 237.6 kB / 0.6373 GB, free: 6.492 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3874, allocations: 4 kB / 0.6373 GB, free: 6.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006566/0.3881, allocations: 393.8 kB / 0.6376 GB, free: 6.098 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3881, allocations: 8 kB / 0.6376 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3881, allocations: 4 kB / 0.6377 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3881, allocations: 4 kB / 0.6377 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/0.3891, allocations: 151.9 kB / 0.6378 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.3902, allocations: 2.368 MB / 0.6401 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.3906, allocations: 67.58 kB / 0.6402 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.3907, allocations: 15.94 kB / 0.6402 GB, free: 3.391 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003537/0.391, allocations: 253.3 kB / 0.6404 GB, free: 3.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002637/0.3913, allocations: 174.8 kB / 0.6406 GB, free: 2.945 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003882/0.3917, allocations: 224.5 kB / 0.6408 GB, free: 2.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.3917, allocations: 0 / 0.6408 GB, free: 2.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006207/0.3923, allocations: 376.9 kB / 0.6412 GB, free: 2.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.3924, allocations: 11.97 kB / 0.6412 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3924, allocations: 3.984 kB / 0.6412 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.3924, allocations: 4 kB / 0.6412 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.3928, allocations: 99.88 kB / 0.6413 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3928, allocations: 3.938 kB / 0.6413 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.3932, allocations: 43.66 kB / 0.6413 GB, free: 2.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.3932, allocations: 16 kB / 0.6414 GB, free: 2.16 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.0001134/0.3933, allocations: 200.5 kB / 0.6415 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.084e-05/0.3934, allocations: 75.03 kB / 0.6416 GB, free: 1.883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006012/0.394, allocations: 314.6 kB / 0.6419 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3941, allocations: 4 kB / 0.6419 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3941, allocations: 4 kB / 0.6419 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3941, allocations: 192 / 0.6419 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.3952, allocations: 0.8816 MB / 0.6428 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3952, allocations: 0 / 0.6428 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.3955, allocations: 83.92 kB / 0.6429 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.3955, allocations: 4 kB / 0.6429 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.3955, allocations: 7.984 kB / 0.6429 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009135/0.3965, allocations: 2.352 MB / 0.6452 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3965, allocations: 0 / 0.6452 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.397, allocations: 406 kB / 0.6456 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.3971, allocations: 172.1 kB / 0.6457 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.3972, allocations: 4 kB / 0.6457 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.3975, allocations: 23.97 kB / 0.6457 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.3976, allocations: 19.92 kB / 0.6458 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3976, allocations: 11.98 kB / 0.6458 GB, free: 13.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004685/0.3981, allocations: 471 kB / 0.6462 GB, free: 12.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3981, allocations: 4 kB / 0.6462 GB, free: 12.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007522/0.3988, allocations: 351 kB / 0.6466 GB, free: 12.61 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.001039/0.3999, allocations: 1.068 MB / 0.6476 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.4014, allocations: 0.4955 MB / 0.6481 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4014, allocations: 0 / 0.6481 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.4018, allocations: 141.5 kB / 0.6482 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.4032, allocations: 320.4 kB / 0.6485 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/0.4092, allocations: 5.074 MB / 0.6535 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.4096, allocations: 0.9296 MB / 0.6544 GB, free: 4.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004072/0.41, allocations: 119.7 kB / 0.6545 GB, free: 4.305 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.4103, allocations: 259.3 kB / 0.6548 GB, free: 4.051 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4103, allocations: 0 / 0.6548 GB, free: 4.051 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.99/1.4, allocations: 18.96 MB / 0.6733 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/13.01, allocations: 3.625 kB / 0.6733 GB, free: 1.516 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)