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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.009144/0.009144, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.751/0.751, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.0008641/0.0008642, allocations: 101.3 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 8 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3335, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6416/0.9751, allocations: 358.9 MB / 1 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.9755, allocations: 96.58 kB / 1 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.436/2.411, allocations: 418.8 MB / 1.409 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.743e-06/2.411, allocations: 0.6562 kB / 1.409 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.765e-05/2.411, allocations: 28.59 kB / 1.409 GB, free: 151.7 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.0023/2.414, allocations: 1.195 MB / 1.41 GB, free: 151 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/2.414, allocations: 7.906 kB / 1.41 GB, free: 151 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/2.414, allocations: 88.02 kB / 1.41 GB, free: 151 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/2.414, allocations: 99.84 kB / 1.41 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/2.415, allocations: 0.5848 MB / 1.411 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/2.415, allocations: 42.09 kB / 1.411 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/2.415, allocations: 64.09 kB / 1.411 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/2.416, allocations: 400.9 kB / 1.412 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/2.416, allocations: 0 / 1.412 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/2.416, allocations: 16.5 kB / 1.412 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/2.416, allocations: 11.69 kB / 1.412 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/2.417, allocations: 307.6 kB / 1.412 GB, free: 150.6 MB / 0.6823 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.00279/2.419, allocations: 1.855 MB / 1.414 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/2.42, allocations: 167.3 kB / 1.414 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003544/2.42, allocations: 346.9 kB / 1.414 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/2.42, allocations: 41.83 kB / 1.414 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 3.247e-06/2.42, allocations: 0 / 1.414 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0006911/2.421, allocations: 321.7 kB / 1.414 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/2.421, allocations: 51.41 kB / 1.415 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000592/2.421, allocations: 0.5926 MB / 1.415 GB, free: 149 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/2.422, allocations: 35.73 kB / 1.415 GB, free: 149 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/2.422, allocations: 363.3 kB / 1.415 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/2.422, allocations: 73.94 kB / 1.416 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/2.422, allocations: 6 kB / 1.416 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001169/2.422, allocations: 375.1 kB / 1.416 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/2.422, allocations: 101.4 kB / 1.416 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/2.422, allocations: 222.1 kB / 1.416 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/2.423, allocations: 126.9 kB / 1.416 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/2.423, allocations: 0 / 1.416 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000627/2.423, allocations: 388.8 kB / 1.417 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/2.423, allocations: 285.5 kB / 1.417 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/2.423, allocations: 3.031 kB / 1.417 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/2.424, allocations: 6.75 kB / 1.417 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/2.424, allocations: 130.3 kB / 1.417 GB, free: 148 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000912/2.425, allocations: 2.366 MB / 1.419 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/2.426, allocations: 94.67 kB / 1.42 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/2.426, allocations: 19.42 kB / 1.42 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/2.426, allocations: 7.156 kB / 1.42 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004932/2.427, allocations: 280.6 kB / 1.42 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/2.427, allocations: 0 / 1.42 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/2.427, allocations: 5.875 kB / 1.42 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/2.427, allocations: 104.7 kB / 1.42 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/2.427, allocations: 0.5625 kB / 1.42 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/2.428, allocations: 89.16 kB / 1.42 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/2.428, allocations: 18.58 kB / 1.42 GB, free: 145.6 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 () * 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 (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.0002879/2.428, allocations: 277 kB / 1.42 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/2.428, allocations: 67.22 kB / 1.42 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/2.429, allocations: 322.1 kB / 1.421 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/2.429, allocations: 3.938 kB / 1.421 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/2.429, allocations: 0 / 1.421 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/2.429, allocations: 6.531 kB / 1.421 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/2.43, allocations: 0.9005 MB / 1.422 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/2.43, allocations: 3.875 kB / 1.422 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/2.43, allocations: 71.56 kB / 1.422 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/2.43, allocations: 3.781 kB / 1.422 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/2.43, allocations: 10.58 kB / 1.422 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007276/2.431, allocations: 2.349 MB / 1.424 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.431, allocations: 7.047 kB / 1.424 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/2.431, allocations: 456.4 kB / 1.424 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/2.432, allocations: 171.3 kB / 1.425 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/2.432, allocations: 9.297 kB / 1.425 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/2.432, allocations: 63.28 kB / 1.425 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/2.432, allocations: 9.812 kB / 1.425 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/2.432, allocations: 9.625 kB / 1.425 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000479/2.433, allocations: 477.1 kB / 1.425 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.433, allocations: 0 / 1.425 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001053/2.434, allocations: 396.6 kB / 1.425 GB, free: 142.1 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 () * 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 (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.001271/2.435, allocations: 1.618 MB / 1.427 GB, free: 141 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001229/2.436, allocations: 479.1 kB / 1.428 GB, free: 141 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.436, allocations: 0 / 1.428 GB, free: 141 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003149/2.437, allocations: 138.7 kB / 1.428 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/2.438, allocations: 371.1 kB / 1.428 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/2.44, allocations: 2.036 MB / 1.43 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/2.441, allocations: 0.9524 MB / 1.431 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004414/2.441, allocations: 113.6 kB / 1.431 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/2.441, allocations: 252.4 kB / 1.431 GB, free: 139 MB / 0.6823 GB Notification: Performance of SimCode: time 5.089e-06/2.441, allocations: 0 / 1.431 GB, free: 139 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/2.479, allocations: 21.92 MB / 1.453 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/2.479, allocations: 251.6 kB / 1.453 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.918/5.397, allocations: 0 / 1.453 GB, free: 127.5 MB / 0.6823 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/linux/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)