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.005655/0.005655, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7341/0.7341, allocations: 135.2 MB / 151 MB, free: 13.82 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.382/1.382, allocations: 223.2 MB / 406.8 MB, free: 3.168 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.0008633/0.0008635, allocations: 101.1 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003362, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3414, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6374/0.9788, allocations: 358.9 MB / 1 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.9791, allocations: 98.98 kB / 1 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.746/2.726, allocations: 418.8 MB / 1.409 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.313e-06/2.726, allocations: 0 / 1.409 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.189e-05/2.726, allocations: 25.5 kB / 1.409 GB, free: 151.2 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.002925/2.729, allocations: 1.196 MB / 1.41 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/2.729, allocations: 11.41 kB / 1.41 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/2.729, allocations: 84.67 kB / 1.41 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/2.729, allocations: 95.5 kB / 1.41 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/2.73, allocations: 0.5903 MB / 1.411 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/2.73, allocations: 41.31 kB / 1.411 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/2.73, allocations: 63.94 kB / 1.411 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/2.731, allocations: 397.7 kB / 1.412 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/2.731, allocations: 3.516 kB / 1.412 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/2.731, allocations: 20.09 kB / 1.412 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/2.731, allocations: 11.22 kB / 1.412 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/2.732, allocations: 298.7 kB / 1.412 GB, free: 150.1 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.002675/2.734, allocations: 1.859 MB / 1.414 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/2.735, allocations: 165.7 kB / 1.414 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/2.735, allocations: 352.5 kB / 1.414 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/2.735, allocations: 37.72 kB / 1.414 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/2.735, allocations: 0 / 1.414 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0006775/2.736, allocations: 316.7 kB / 1.414 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/2.736, allocations: 55.25 kB / 1.415 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/2.736, allocations: 0.594 MB / 1.415 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/2.736, allocations: 32.64 kB / 1.415 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/2.737, allocations: 366.9 kB / 1.415 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/2.737, allocations: 71.25 kB / 1.416 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/2.737, allocations: 3.125 kB / 1.416 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001125/2.737, allocations: 378.2 kB / 1.416 GB, free: 148 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/2.737, allocations: 105.7 kB / 1.416 GB, free: 148 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/2.737, allocations: 217.4 kB / 1.416 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/2.738, allocations: 130.6 kB / 1.416 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/2.738, allocations: 0 / 1.416 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006169/2.738, allocations: 389 kB / 1.417 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/2.738, allocations: 283.8 kB / 1.417 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/2.738, allocations: 0 / 1.417 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/2.738, allocations: 7.344 kB / 1.417 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/2.739, allocations: 134.6 kB / 1.417 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/2.74, allocations: 2.367 MB / 1.419 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/2.741, allocations: 91.39 kB / 1.42 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/2.741, allocations: 22.08 kB / 1.42 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/2.741, allocations: 3.75 kB / 1.42 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004892/2.741, allocations: 284.2 kB / 1.42 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/2.741, allocations: 3.75 kB / 1.42 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/2.741, allocations: 3.688 kB / 1.42 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/2.742, allocations: 99.22 kB / 1.42 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/2.742, allocations: 6.094 kB / 1.42 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005418/2.742, allocations: 88.23 kB / 1.42 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/2.742, allocations: 14.53 kB / 1.42 GB, free: 145.1 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.0002456/2.743, allocations: 273.1 kB / 1.42 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/2.743, allocations: 68.19 kB / 1.42 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/2.743, allocations: 317.9 kB / 1.421 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/2.743, allocations: 2.594 kB / 1.421 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/2.743, allocations: 0 / 1.421 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/2.743, allocations: 7.047 kB / 1.421 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/2.745, allocations: 0.8994 MB / 1.422 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/2.745, allocations: 7.375 kB / 1.422 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002934/2.745, allocations: 76.92 kB / 1.422 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/2.745, allocations: 5.938 kB / 1.422 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/2.745, allocations: 15.03 kB / 1.422 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006633/2.746, allocations: 2.343 MB / 1.424 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.746, allocations: 8.328 kB / 1.424 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/2.746, allocations: 461 kB / 1.424 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/2.746, allocations: 173.2 kB / 1.425 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/2.746, allocations: 1.562 kB / 1.425 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/2.747, allocations: 64.02 kB / 1.425 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/2.747, allocations: 18.41 kB / 1.425 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/2.747, allocations: 11.38 kB / 1.425 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004556/2.747, allocations: 471.2 kB / 1.425 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.747, allocations: 0 / 1.425 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001094/2.748, allocations: 396.8 kB / 1.425 GB, free: 141.6 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.001608/2.75, allocations: 1.622 MB / 1.427 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001246/2.751, allocations: 471.1 kB / 1.428 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.751, allocations: 0 / 1.428 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003346/2.752, allocations: 143.6 kB / 1.428 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/2.753, allocations: 369.5 kB / 1.428 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/2.756, allocations: 2.031 MB / 1.43 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/2.756, allocations: 0.9503 MB / 1.431 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004783/2.756, allocations: 118.1 kB / 1.431 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/2.757, allocations: 253.3 kB / 1.431 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/2.757, allocations: 0 / 1.431 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04122/2.798, allocations: 21.93 MB / 1.453 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/2.798, allocations: 260.2 kB / 1.453 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/5.555, allocations: 0 / 1.453 GB, free: 127.2 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)