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.0008272/0.0008274, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005734/0.005734, allocations: 171.6 kB / 16.27 MB, free: 6.328 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7229/0.7229, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003161, allocations: 13.31 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3574, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03008/0.3875, allocations: 29.88 MB / 0.6129 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.3995, allocations: 10.72 MB / 0.6234 GB, free: 5.219 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008098/0.4004, allocations: 22.72 kB / 0.6234 GB, free: 5.207 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000853/0.4012, allocations: 310.1 kB / 0.6237 GB, free: 4.949 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.4036, allocations: 1.06 MB / 0.6247 GB, free: 4.105 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.4054, allocations: 0.7758 MB / 0.6255 GB, free: 3.539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002597/0.408, allocations: 2.823 MB / 0.6283 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007149/0.4087, allocations: 0.5691 MB / 0.6288 GB, free: 1.637 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.4104, allocations: 0.8895 MB / 0.6297 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008458/0.4113, allocations: 0.6586 MB / 0.6303 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.4113, allocations: 36 kB / 0.6304 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.4125, allocations: 0.5731 MB / 0.6309 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.4127, allocations: 135.2 kB / 0.6311 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.4131, allocations: 431.3 kB / 0.6315 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.4142, allocations: 1.043 MB / 0.6325 GB, free: 14.37 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4142, allocations: 0 / 0.6325 GB, free: 14.37 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4143, allocations: 0 / 0.6325 GB, free: 14.37 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4143, allocations: 0 / 0.6325 GB, free: 14.37 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.001476/0.4158, allocations: 1.024 MB / 0.6335 GB, free: 13.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4158, allocations: 8.031 kB / 0.6335 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.826e-05/0.4159, allocations: 94.64 kB / 0.6336 GB, free: 13.19 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.416, allocations: 99.81 kB / 0.6337 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.4167, allocations: 0.5572 MB / 0.6342 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.4168, allocations: 37 kB / 0.6343 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.4168, allocations: 56 kB / 0.6343 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007029/0.4175, allocations: 414.4 kB / 0.6347 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4176, allocations: 3.938 kB / 0.6347 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.4176, allocations: 16 kB / 0.6347 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.4176, allocations: 16 kB / 0.6347 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.4182, allocations: 307.8 kB / 0.635 GB, free: 11.66 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.002572/0.4208, allocations: 1.877 MB / 0.6369 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.4212, allocations: 176.4 kB / 0.637 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.4214, allocations: 88.81 kB / 0.6371 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.4217, allocations: 336.4 kB / 0.6374 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4217, allocations: 30.56 kB / 0.6375 GB, free: 8.918 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.883e-06/0.4217, allocations: 4 kB / 0.6375 GB, free: 8.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007093/0.4224, allocations: 324.5 kB / 0.6378 GB, free: 8.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.4225, allocations: 59.41 kB / 0.6378 GB, free: 8.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/0.4232, allocations: 0.6805 MB / 0.6385 GB, free: 7.824 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.4232, allocations: 29.7 kB / 0.6385 GB, free: 7.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.4235, allocations: 368.8 kB / 0.6389 GB, free: 7.426 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.4235, allocations: 63.02 kB / 0.6389 GB, free: 7.363 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.4236, allocations: 49.69 kB / 0.639 GB, free: 7.309 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4237, allocations: 374.7 kB / 0.6393 GB, free: 6.934 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.424, allocations: 116.7 kB / 0.6395 GB, free: 6.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.4243, allocations: 181.2 kB / 0.6396 GB, free: 6.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.4248, allocations: 253.6 kB / 0.6399 GB, free: 6.367 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4248, allocations: 0 / 0.6399 GB, free: 6.367 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006628/0.4254, allocations: 414.2 kB / 0.6403 GB, free: 5.957 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.4255, allocations: 107 kB / 0.6404 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4255, allocations: 0 / 0.6404 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4255, allocations: 0 / 0.6404 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.4265, allocations: 167.7 kB / 0.6405 GB, free: 5.676 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.4277, allocations: 2.36 MB / 0.6428 GB, free: 3.223 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.4283, allocations: 87.78 kB / 0.6429 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.4283, allocations: 20.09 kB / 0.6429 GB, free: 3.117 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/0.4283, allocations: 11.94 kB / 0.6429 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005571/0.4289, allocations: 295.8 kB / 0.6432 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.4289, allocations: 0 / 0.6432 GB, free: 2.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.4289, allocations: 3.938 kB / 0.6432 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.4293, allocations: 99.88 kB / 0.6433 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4293, allocations: 12 kB / 0.6433 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.4298, allocations: 83.53 kB / 0.6434 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.4299, allocations: 19.98 kB / 0.6434 GB, free: 2.602 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.0002607/0.4301, allocations: 258.6 kB / 0.6437 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.4302, allocations: 67.16 kB / 0.6437 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000652/0.4309, allocations: 323.3 kB / 0.6441 GB, free: 1.953 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4309, allocations: 4 kB / 0.6441 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4309, allocations: 4 kB / 0.6441 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.4309, allocations: 0 / 0.6441 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.4322, allocations: 0.9086 MB / 0.645 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.4322, allocations: 0 / 0.645 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.4325, allocations: 71.94 kB / 0.645 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4325, allocations: 4 kB / 0.645 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4325, allocations: 4 kB / 0.645 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.4336, allocations: 2.364 MB / 0.6473 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.4336, allocations: 288 / 0.6473 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.4341, allocations: 420.9 kB / 0.6477 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.4343, allocations: 172.2 kB / 0.6479 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.4344, allocations: 3.984 kB / 0.6479 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.4348, allocations: 55.8 kB / 0.648 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.4349, allocations: 15.98 kB / 0.648 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.4349, allocations: 15.92 kB / 0.648 GB, free: 13.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005322/0.4354, allocations: 475 kB / 0.6484 GB, free: 13.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4354, allocations: 4 kB / 0.6484 GB, free: 13.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007785/0.4362, allocations: 351.1 kB / 0.6488 GB, free: 12.91 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.001161/0.4374, allocations: 1.08 MB / 0.6498 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.4389, allocations: 0.5006 MB / 0.6503 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4389, allocations: 0 / 0.6503 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.4393, allocations: 143.8 kB / 0.6505 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.4414, allocations: 372.1 kB / 0.6508 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006763/0.4482, allocations: 5.362 MB / 0.6561 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.4487, allocations: 0.9292 MB / 0.657 GB, free: 4.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004458/0.4491, allocations: 120.7 kB / 0.6571 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.4494, allocations: 259.3 kB / 0.6573 GB, free: 4.008 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4494, allocations: 0 / 0.6573 GB, free: 4.008 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3141/0.7635, allocations: 18.47 MB / 0.6754 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/0.7638, allocations: 300.9 kB / 0.6756 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.965, allocations: 0 / 0.6756 GB, free: 1.594 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)