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.001166/0.001166, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7308/0.7308, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.336/1.336, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008544/0.0008543, allocations: 101.9 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.077e-05, allocations: 3.406 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1442, allocations: 82.3 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.212, allocations: 358.8 MB / 0.9909 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.212, allocations: 91.98 kB / 0.991 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.133/2.345, allocations: 417.6 MB / 1.399 GB, free: 99.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.352e-06/2.345, allocations: 0 / 1.399 GB, free: 99.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.711e-05/2.345, allocations: 28 kB / 1.399 GB, free: 99.07 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.001508/2.347, allocations: 1.048 MB / 1.4 GB, free: 97.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/2.347, allocations: 16.02 kB / 1.4 GB, free: 97.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.252e-05/2.347, allocations: 82.53 kB / 1.4 GB, free: 97.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/2.347, allocations: 98 kB / 1.4 GB, free: 97.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/2.348, allocations: 0.5703 MB / 1.401 GB, free: 97.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/2.348, allocations: 41 kB / 1.401 GB, free: 97.16 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/2.348, allocations: 60 kB / 1.401 GB, free: 97.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005468/2.349, allocations: 378.5 kB / 1.401 GB, free: 96.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/2.349, allocations: 0 / 1.401 GB, free: 96.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/2.349, allocations: 26.7 kB / 1.401 GB, free: 96.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/2.349, allocations: 8 kB / 1.401 GB, free: 96.69 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/2.349, allocations: 255.9 kB / 1.401 GB, free: 96.44 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.002249/2.351, allocations: 1.863 MB / 1.403 GB, free: 94.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/2.352, allocations: 161.4 kB / 1.403 GB, free: 94.29 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/2.352, allocations: 68.8 kB / 1.403 GB, free: 94.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/2.352, allocations: 336.4 kB / 1.404 GB, free: 93.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/2.352, allocations: 38.56 kB / 1.404 GB, free: 93.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/2.352, allocations: 0 / 1.404 GB, free: 93.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0003641/2.352, allocations: 218.7 kB / 1.404 GB, free: 93.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/2.352, allocations: 63.34 kB / 1.404 GB, free: 93.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005316/2.353, allocations: 0.5859 MB / 1.405 GB, free: 92.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/2.353, allocations: 33.7 kB / 1.405 GB, free: 92.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/2.353, allocations: 368.8 kB / 1.405 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/2.353, allocations: 63.02 kB / 1.405 GB, free: 92.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/2.353, allocations: 12 kB / 1.405 GB, free: 92.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/2.353, allocations: 370.8 kB / 1.405 GB, free: 92.03 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/2.353, allocations: 84.73 kB / 1.405 GB, free: 91.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/2.354, allocations: 205.6 kB / 1.406 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/2.354, allocations: 109.5 kB / 1.406 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/2.354, allocations: 0 / 1.406 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004368/2.354, allocations: 350.5 kB / 1.406 GB, free: 91.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.19e-05/2.354, allocations: 278.9 kB / 1.406 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/2.354, allocations: 0 / 1.406 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/2.354, allocations: 8 kB / 1.406 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/2.355, allocations: 123.8 kB / 1.407 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008289/2.356, allocations: 2.367 MB / 1.409 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/2.357, allocations: 91.75 kB / 1.409 GB, free: 88.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/2.357, allocations: 19.98 kB / 1.409 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/2.357, allocations: 8 kB / 1.409 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003798/2.357, allocations: 243.8 kB / 1.409 GB, free: 88.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/2.357, allocations: 7.984 kB / 1.409 GB, free: 88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/2.357, allocations: 0 / 1.409 GB, free: 88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/2.357, allocations: 99.88 kB / 1.409 GB, free: 87.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/2.357, allocations: 7.938 kB / 1.409 GB, free: 87.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/2.358, allocations: 87.47 kB / 1.409 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/2.358, allocations: 19.92 kB / 1.409 GB, free: 87.79 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 7.921e-05/2.358, allocations: 132.9 kB / 1.41 GB, free: 87.65 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/2.358, allocations: 67.16 kB / 1.41 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/2.359, allocations: 283.7 kB / 1.41 GB, free: 87.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/2.359, allocations: 4 kB / 1.41 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/2.359, allocations: 0 / 1.41 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/2.359, allocations: 0 / 1.41 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009059/2.36, allocations: 0.8759 MB / 1.411 GB, free: 86.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/2.36, allocations: 0 / 1.411 GB, free: 86.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/2.36, allocations: 80.06 kB / 1.411 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/2.36, allocations: 0 / 1.411 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/2.36, allocations: 8 kB / 1.411 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006118/2.36, allocations: 2.352 MB / 1.413 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/2.36, allocations: 0 / 1.413 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/2.361, allocations: 426 kB / 1.413 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/2.361, allocations: 176 kB / 1.414 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/2.361, allocations: 4 kB / 1.414 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/2.361, allocations: 59.94 kB / 1.414 GB, free: 83.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/2.362, allocations: 11.98 kB / 1.414 GB, free: 83.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/2.362, allocations: 11.98 kB / 1.414 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004004/2.362, allocations: 459.2 kB / 1.414 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/2.362, allocations: 0 / 1.414 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000902/2.363, allocations: 391.3 kB / 1.415 GB, free: 82.25 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.001077/2.364, allocations: 1.591 MB / 1.416 GB, free: 80.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001/2.365, allocations: 441.6 kB / 1.417 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/2.365, allocations: 0 / 1.417 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/2.365, allocations: 123.7 kB / 1.417 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/2.367, allocations: 364.9 kB / 1.417 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/2.368, allocations: 0.9121 MB / 1.418 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/2.369, allocations: 0.9466 MB / 1.419 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005495/2.369, allocations: 169 kB / 1.419 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/2.369, allocations: 239.4 kB / 1.419 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/2.369, allocations: 0 / 1.419 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.042/5.411, allocations: 23.68 MB / 1.442 GB, free: 54.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/5.411, allocations: 242.5 kB / 1.443 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/8.016, allocations: 2.531 kB / 1.443 GB, free: 53.78 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)