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.001068/0.001068, allocations: 172.5 kB / 7.647 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 0.8018/0.8018, allocations: 133.6 MB / 141.6 MB, free: 2.848 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.5 MB / 395.4 MB, free: 10.83 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.0009779/0.0009776, allocations: 107.1 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.995e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5255, allocations: 82.3 MB / 0.6339 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7874/1.313, allocations: 358.2 MB / 0.9837 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.313, allocations: 91.75 kB / 0.9838 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.608/2.921, allocations: 414.9 MB / 1.389 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.593e-06/2.921, allocations: 0 / 1.389 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.15e-05/2.921, allocations: 29.73 kB / 1.389 GB, free: 153.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.00161/2.923, allocations: 1.042 MB / 1.39 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/2.923, allocations: 10.66 kB / 1.39 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/2.923, allocations: 105.5 kB / 1.39 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008328/2.924, allocations: 0.5687 MB / 1.391 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/2.924, allocations: 17.62 kB / 1.391 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/2.924, allocations: 36.97 kB / 1.391 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003946/2.924, allocations: 242.4 kB / 1.391 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/2.925, allocations: 316.6 kB / 1.391 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/2.925, allocations: 6.469 kB / 1.391 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/2.925, allocations: 0 / 1.391 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/2.925, allocations: 11.56 kB / 1.391 GB, free: 152.4 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.002256/2.927, allocations: 1.743 MB / 1.393 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/2.927, allocations: 147.9 kB / 1.393 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.829e-05/2.928, allocations: 70.16 kB / 1.393 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/2.928, allocations: 339 kB / 1.393 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/2.928, allocations: 41.33 kB / 1.394 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/2.928, allocations: 6.625 kB / 1.394 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.000442/2.928, allocations: 208.3 kB / 1.394 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/2.928, allocations: 55.06 kB / 1.394 GB, free: 151 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/2.929, allocations: 491.8 kB / 1.394 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/2.929, allocations: 25.7 kB / 1.394 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/2.929, allocations: 369.5 kB / 1.395 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/2.929, allocations: 67.36 kB / 1.395 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/2.929, allocations: 0 / 1.395 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.711e-05/2.929, allocations: 368.9 kB / 1.395 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/2.929, allocations: 86.11 kB / 1.395 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/2.929, allocations: 191.3 kB / 1.395 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/2.93, allocations: 126.5 kB / 1.395 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/2.93, allocations: 0 / 1.395 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004827/2.93, allocations: 329.5 kB / 1.396 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/2.93, allocations: 276.8 kB / 1.396 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/2.93, allocations: 0 / 1.396 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/2.93, allocations: 5.812 kB / 1.396 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008706/2.931, allocations: 134.4 kB / 1.396 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009063/2.932, allocations: 2.391 MB / 1.398 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/2.933, allocations: 76.42 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/2.933, allocations: 18.56 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.762e-06/2.933, allocations: 3.938 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003934/2.933, allocations: 231.4 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/2.933, allocations: 0 / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/2.933, allocations: 3.938 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/2.934, allocations: 104.2 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/2.934, allocations: 6.625 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/2.934, allocations: 63.03 kB / 1.399 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/2.934, allocations: 24.53 kB / 1.399 GB, free: 147.5 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 9.433e-05/2.934, allocations: 108.3 kB / 1.399 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003238/2.935, allocations: 207.8 kB / 1.399 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/2.935, allocations: 63.8 kB / 1.399 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/2.935, allocations: 257.8 kB / 1.4 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/2.935, allocations: 3.312 kB / 1.4 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/2.935, allocations: 3.5 kB / 1.4 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/2.935, allocations: 2.812 kB / 1.4 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009665/2.936, allocations: 0.7767 MB / 1.4 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/2.936, allocations: 3.344 kB / 1.4 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/2.936, allocations: 81.97 kB / 1.4 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/2.936, allocations: 0 / 1.4 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/2.936, allocations: 7.672 kB / 1.4 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006635/2.937, allocations: 2.353 MB / 1.403 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/2.937, allocations: 1.812 kB / 1.403 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/2.938, allocations: 403.6 kB / 1.403 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/2.938, allocations: 172.9 kB / 1.403 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/2.938, allocations: 0 / 1.403 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/2.938, allocations: 60.06 kB / 1.403 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/2.938, allocations: 20.08 kB / 1.403 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/2.938, allocations: 9.312 kB / 1.403 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003401/2.939, allocations: 370.7 kB / 1.404 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/2.939, allocations: 0 / 1.404 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009994/2.94, allocations: 387.6 kB / 1.404 GB, free: 144 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.001228/2.941, allocations: 1.579 MB / 1.406 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001105/2.942, allocations: 411.6 kB / 1.406 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.942, allocations: 2.812 kB / 1.406 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/2.942, allocations: 110.5 kB / 1.406 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/2.944, allocations: 288.8 kB / 1.406 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/2.945, allocations: 0.869 MB / 1.407 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/2.945, allocations: 0.9459 MB / 1.408 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005312/2.946, allocations: 123.5 kB / 1.408 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/2.946, allocations: 242.8 kB / 1.409 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.7e-07/2.946, allocations: 0 / 1.409 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/2.987, allocations: 17.95 MB / 1.426 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/2.987, allocations: 181.5 kB / 1.426 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/5.721, allocations: 0 / 1.426 GB, free: 141.2 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)