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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002415/0.002415, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.147/1.147, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.456/2.456, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 100.1 kB / 478.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.283e-05/4.263e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.7998, allocations: 82.31 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.487/2.287, allocations: 358.2 MB / 0.9837 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004899/2.288, allocations: 94.33 kB / 0.9838 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.863/5.15, allocations: 414.9 MB / 1.389 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.653e-06/5.15, allocations: 0 / 1.389 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.763e-05/5.15, allocations: 23.31 kB / 1.389 GB, free: 153.4 MB / 0.6823 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.001931/5.152, allocations: 1.051 MB / 1.39 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/5.152, allocations: 13.78 kB / 1.39 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/5.153, allocations: 99.09 kB / 1.39 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000948/5.154, allocations: 0.5724 MB / 1.391 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/5.154, allocations: 17.97 kB / 1.391 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/5.154, allocations: 37.78 kB / 1.391 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004454/5.154, allocations: 237.7 kB / 1.391 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/5.155, allocations: 310.8 kB / 1.391 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/5.155, allocations: 3.656 kB / 1.391 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/5.155, allocations: 0 / 1.391 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/5.155, allocations: 14.06 kB / 1.391 GB, free: 152.5 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003258/5.158, allocations: 1.738 MB / 1.393 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/5.158, allocations: 154.6 kB / 1.393 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/5.159, allocations: 70.61 kB / 1.393 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004015/5.159, allocations: 335.7 kB / 1.393 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/5.159, allocations: 41.19 kB / 1.394 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 3.677e-06/5.159, allocations: 2.156 kB / 1.394 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0008581/5.16, allocations: 214.1 kB / 1.394 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/5.16, allocations: 58.69 kB / 1.394 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/5.161, allocations: 489.7 kB / 1.394 GB, free: 151 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/5.161, allocations: 29.67 kB / 1.394 GB, free: 151 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/5.161, allocations: 373.5 kB / 1.395 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/5.162, allocations: 61.98 kB / 1.395 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/5.162, allocations: 0 / 1.395 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001642/5.162, allocations: 362.9 kB / 1.395 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/5.162, allocations: 90.3 kB / 1.395 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/5.162, allocations: 187.7 kB / 1.395 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/5.163, allocations: 123.3 kB / 1.395 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/5.163, allocations: 2.969 kB / 1.395 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001048/5.164, allocations: 327.8 kB / 1.396 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/5.164, allocations: 279.1 kB / 1.396 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/5.164, allocations: 0 / 1.396 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.434e-05/5.164, allocations: 3.812 kB / 1.396 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/5.166, allocations: 144.4 kB / 1.396 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/5.167, allocations: 2.383 MB / 1.398 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/5.169, allocations: 73.27 kB / 1.399 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/5.169, allocations: 21.45 kB / 1.399 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/5.169, allocations: 6.594 kB / 1.399 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000838/5.17, allocations: 226.1 kB / 1.399 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/5.17, allocations: 2.531 kB / 1.399 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/5.17, allocations: 6.938 kB / 1.399 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/5.17, allocations: 101.7 kB / 1.399 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/5.17, allocations: 7.922 kB / 1.399 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/5.171, allocations: 66.48 kB / 1.399 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/5.171, allocations: 17.58 kB / 1.399 GB, free: 147.7 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002736/5.172, allocations: 116.2 kB / 1.399 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006941/5.172, allocations: 201.5 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/5.173, allocations: 63.7 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009918/5.174, allocations: 262.2 kB / 1.4 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/5.174, allocations: 2.531 kB / 1.4 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/5.174, allocations: 0 / 1.4 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/5.174, allocations: 3.812 kB / 1.4 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/5.176, allocations: 0.7802 MB / 1.4 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/5.176, allocations: 0 / 1.4 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/5.176, allocations: 74.58 kB / 1.4 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/5.176, allocations: 3.469 kB / 1.4 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/5.176, allocations: 10.86 kB / 1.4 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/5.178, allocations: 2.352 MB / 1.403 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/5.178, allocations: 0.75 kB / 1.403 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007658/5.178, allocations: 406.9 kB / 1.403 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/5.179, allocations: 168.6 kB / 1.403 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/5.179, allocations: 0 / 1.403 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/5.18, allocations: 59.3 kB / 1.403 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/5.18, allocations: 22.22 kB / 1.403 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/5.18, allocations: 3.875 kB / 1.403 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006651/5.18, allocations: 369.7 kB / 1.404 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/5.18, allocations: 6.469 kB / 1.404 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002245/5.183, allocations: 386.2 kB / 1.404 GB, free: 144.2 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003199/5.186, allocations: 1.59 MB / 1.406 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002185/5.188, allocations: 403.2 kB / 1.406 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/5.188, allocations: 1.969 kB / 1.406 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004906/5.189, allocations: 113.9 kB / 1.406 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/5.192, allocations: 283.8 kB / 1.406 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/5.197, allocations: 0.8698 MB / 1.407 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009879/5.198, allocations: 0.9487 MB / 1.408 GB, free: 142 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001478/5.199, allocations: 134.5 kB / 1.408 GB, free: 142 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/5.2, allocations: 242.7 kB / 1.409 GB, free: 142 MB / 0.6823 GB Notification: Performance of SimCode: time 4.689e-06/5.2, allocations: 0 / 1.409 GB, free: 142 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0739/5.274, allocations: 17.93 MB / 1.426 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/5.274, allocations: 187.5 kB / 1.426 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.437/9.711, allocations: 0 / 1.426 GB, free: 141.4 MB / 0.6823 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/linux/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)