Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IDEAS_dev_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.000867/0.000867, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0052/0.0052, allocations: 172.3 kB / 16.26 MB, free: 6.676 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.184/1.184, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8089/0.8089, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8 kB / 0.5077 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 82.3 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.242/0.3698, allocations: 29.85 MB / 0.6172 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008877/0.3788, allocations: 10.74 MB / 0.6277 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006899/0.3795, allocations: 20.81 kB / 0.6277 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.3802, allocations: 322.7 kB / 0.628 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.3821, allocations: 1.053 MB / 0.6291 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.3837, allocations: 0.7645 MB / 0.6298 GB, free: 29.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.3854, allocations: 2.832 MB / 0.6326 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005273/0.3859, allocations: 0.5664 MB / 0.6331 GB, free: 28.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.387, allocations: 0.8851 MB / 0.634 GB, free: 28.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005442/0.3875, allocations: 0.67 MB / 0.6346 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.3876, allocations: 29.72 kB / 0.6347 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007567/0.3883, allocations: 0.565 MB / 0.6352 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3885, allocations: 145.9 kB / 0.6354 GB, free: 27.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.3887, allocations: 422.4 kB / 0.6358 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007311/0.3894, allocations: 1.048 MB / 0.6368 GB, free: 26.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3895, allocations: 0 / 0.6368 GB, free: 26.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3895, allocations: 0 / 0.6368 GB, free: 26.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3895, allocations: 0 / 0.6368 GB, free: 26.91 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001163/0.3906, allocations: 1.019 MB / 0.6378 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.3907, allocations: 12.44 kB / 0.6378 GB, free: 26.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.3908, allocations: 88.02 kB / 0.6379 GB, free: 26.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.655e-05/0.3909, allocations: 96.97 kB / 0.638 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.3914, allocations: 0.5638 MB / 0.6385 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3914, allocations: 43.47 kB / 0.6386 GB, free: 25.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.3915, allocations: 53.66 kB / 0.6386 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/0.392, allocations: 408.4 kB / 0.639 GB, free: 25.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3921, allocations: 3.938 kB / 0.639 GB, free: 25.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.3921, allocations: 29.69 kB / 0.639 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.3921, allocations: 11.78 kB / 0.6391 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.3926, allocations: 314.2 kB / 0.6394 GB, free: 25.34 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.001913/0.3945, allocations: 1.861 MB / 0.6412 GB, free: 24.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.3948, allocations: 179 kB / 0.6413 GB, free: 24.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.395, allocations: 83.95 kB / 0.6414 GB, free: 24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.3951, allocations: 338.7 kB / 0.6417 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.3952, allocations: 41.73 kB / 0.6418 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.272e-06/0.3952, allocations: 0 / 0.6418 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0005644/0.3957, allocations: 318.9 kB / 0.6421 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.3958, allocations: 58.39 kB / 0.6421 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.3963, allocations: 0.6855 MB / 0.6428 GB, free: 23.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3963, allocations: 32.36 kB / 0.6428 GB, free: 23.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3965, allocations: 368.6 kB / 0.6432 GB, free: 22.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3966, allocations: 65.44 kB / 0.6433 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.3966, allocations: 46.25 kB / 0.6433 GB, free: 22.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.3967, allocations: 377.2 kB / 0.6437 GB, free: 22.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.3969, allocations: 115.4 kB / 0.6438 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3971, allocations: 183.8 kB / 0.6439 GB, free: 22.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.3975, allocations: 250.8 kB / 0.6442 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3975, allocations: 0 / 0.6442 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005591/0.3981, allocations: 406.8 kB / 0.6446 GB, free: 21.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3981, allocations: 105.5 kB / 0.6447 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3981, allocations: 0 / 0.6447 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3981, allocations: 2.531 kB / 0.6447 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009029/0.3991, allocations: 165.5 kB / 0.6448 GB, free: 21.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000663/0.3997, allocations: 2.368 MB / 0.6471 GB, free: 19.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.4002, allocations: 88.72 kB / 0.6472 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.4002, allocations: 14.38 kB / 0.6472 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.4003, allocations: 6.344 kB / 0.6473 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004697/0.4007, allocations: 294.1 kB / 0.6475 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.4007, allocations: 112 / 0.6475 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-06/0.4008, allocations: 6.562 kB / 0.6475 GB, free: 19.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.4011, allocations: 108.3 kB / 0.6476 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.4011, allocations: 6.562 kB / 0.6476 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.4016, allocations: 82.72 kB / 0.6477 GB, free: 19.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.4016, allocations: 14.5 kB / 0.6477 GB, free: 19.23 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 (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.0001654/0.4018, allocations: 261.9 kB / 0.648 GB, free: 19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.4018, allocations: 69.28 kB / 0.6481 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.4024, allocations: 323.8 kB / 0.6484 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4024, allocations: 8.203 kB / 0.6484 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4024, allocations: 2.625 kB / 0.6484 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4024, allocations: 0 / 0.6484 GB, free: 18.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009079/0.4033, allocations: 0.8983 MB / 0.6493 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4033, allocations: 0 / 0.6493 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.4036, allocations: 80.34 kB / 0.6493 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.4036, allocations: 2.625 kB / 0.6493 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.4036, allocations: 6.625 kB / 0.6493 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005129/0.4041, allocations: 2.364 MB / 0.6516 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4042, allocations: 2.625 kB / 0.6516 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.4046, allocations: 412.8 kB / 0.652 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.4047, allocations: 174.8 kB / 0.6522 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.4048, allocations: 2.594 kB / 0.6522 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.4051, allocations: 53.12 kB / 0.6523 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.4052, allocations: 17.23 kB / 0.6523 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.4052, allocations: 10.22 kB / 0.6523 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003837/0.4056, allocations: 481.1 kB / 0.6527 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4056, allocations: 3 kB / 0.6527 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006512/0.4063, allocations: 356.5 kB / 0.6531 GB, free: 15.18 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 (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.0008158/0.4071, allocations: 1.089 MB / 0.6542 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.4084, allocations: 0.4996 MB / 0.6546 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4084, allocations: 0 / 0.6546 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.4088, allocations: 144.3 kB / 0.6548 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.4107, allocations: 368.6 kB / 0.6551 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/0.4163, allocations: 5.348 MB / 0.6604 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.4166, allocations: 0.9259 MB / 0.6613 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004021/0.4171, allocations: 118.3 kB / 0.6614 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.4173, allocations: 260.5 kB / 0.6616 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.4173, allocations: 0 / 0.6616 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.336/2.754, allocations: 18.49 MB / 0.6797 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/2.754, allocations: 289.1 kB / 0.68 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.879/5.633, allocations: 0 / 0.68 GB, free: 6.531 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)