Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.Examples.TwoWayValves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves",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.000883/0.000883, allocations: 174.7 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.6921/0.6921, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.38/1.38, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.001015/0.001015, allocations: 91.88 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.256e-05, allocations: 4.25 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.279, allocations: 361.5 MB / 0.9935 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.279, allocations: 91.69 kB / 0.9936 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.247/2.526, allocations: 437.8 MB / 1.421 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.343e-06/2.526, allocations: 0 / 1.421 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000173/2.526, allocations: 36.17 kB / 1.421 GB, free: 77.59 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003443/2.53, allocations: 1.33 MB / 1.422 GB, free: 76.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/2.53, allocations: 12.03 kB / 1.422 GB, free: 76.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003001/2.53, allocations: 102.5 kB / 1.423 GB, free: 76.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/2.531, allocations: 154.5 kB / 1.423 GB, free: 75.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/2.533, allocations: 0.8135 MB / 1.423 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/2.533, allocations: 93.3 kB / 1.424 GB, free: 74.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004289/2.533, allocations: 124 kB / 1.424 GB, free: 74.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009915/2.534, allocations: 0.5928 MB / 1.424 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/2.534, allocations: 0 / 1.424 GB, free: 74.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/2.535, allocations: 24 kB / 1.424 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/2.535, allocations: 19.89 kB / 1.424 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006535/2.535, allocations: 417 kB / 1.425 GB, free: 73.78 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.005042/2.54, allocations: 3.078 MB / 1.428 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/2.541, allocations: 311.7 kB / 1.428 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/2.541, allocations: 137.4 kB / 1.428 GB, free: 70.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/2.541, allocations: 348.7 kB / 1.428 GB, free: 69.69 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/2.541, allocations: 30.84 kB / 1.429 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/2.541, allocations: 0 / 1.429 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0009583/2.542, allocations: 406.5 kB / 1.429 GB, free: 69.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/2.542, allocations: 59.34 kB / 1.429 GB, free: 69.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009278/2.543, allocations: 0.7662 MB / 1.43 GB, free: 68.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/2.543, allocations: 57.7 kB / 1.43 GB, free: 68.33 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/2.544, allocations: 0.5501 MB / 1.43 GB, free: 67.76 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/2.544, allocations: 106.4 kB / 1.43 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/2.544, allocations: 12 kB / 1.43 GB, free: 67.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.764e-05/2.544, allocations: 330 kB / 1.431 GB, free: 67.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/2.544, allocations: 157.5 kB / 1.431 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/2.546, allocations: 1.406 MB / 1.432 GB, free: 65.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/2.546, allocations: 301.6 kB / 1.433 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/2.546, allocations: 0 / 1.433 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001044/2.547, allocations: 0.6031 MB / 1.433 GB, free: 64.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/2.547, allocations: 0.8099 MB / 1.434 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/2.547, allocations: 0 / 1.434 GB, free: 63.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/2.547, allocations: 8 kB / 1.434 GB, free: 63.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/2.548, allocations: 195.7 kB / 1.434 GB, free: 63.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/2.55, allocations: 2.965 MB / 1.437 GB, free: 60.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/2.553, allocations: 0.9134 MB / 1.438 GB, free: 59.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/2.553, allocations: 27.98 kB / 1.438 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/2.553, allocations: 5.25 kB / 1.438 GB, free: 59.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007821/2.554, allocations: 469.1 kB / 1.438 GB, free: 58.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/2.554, allocations: 4 kB / 1.438 GB, free: 58.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/2.554, allocations: 7.938 kB / 1.438 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/2.555, allocations: 164 kB / 1.439 GB, free: 58.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/2.555, allocations: 4 kB / 1.439 GB, free: 58.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003446/2.558, allocations: 0.9016 MB / 1.439 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.61e-05/2.558, allocations: 27.98 kB / 1.439 GB, free: 57.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004499/2.559, allocations: 169.8 kB / 1.44 GB, free: 57.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/2.559, allocations: 94.78 kB / 1.44 GB, free: 57.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/2.56, allocations: 0.4991 MB / 1.44 GB, free: 57.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/2.56, allocations: 4 kB / 1.44 GB, free: 57.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/2.56, allocations: 0 / 1.44 GB, free: 57.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/2.56, allocations: 3.953 kB / 1.44 GB, free: 57.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/2.562, allocations: 1.229 MB / 1.441 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/2.562, allocations: 4 kB / 1.441 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/2.563, allocations: 111.9 kB / 1.442 GB, free: 55.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/2.563, allocations: 7.953 kB / 1.442 GB, free: 55.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/2.563, allocations: 12 kB / 1.442 GB, free: 55.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008297/2.564, allocations: 2.942 MB / 1.444 GB, free: 52.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.564, allocations: 7.891 kB / 1.444 GB, free: 52.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/2.564, allocations: 0.5914 MB / 1.445 GB, free: 51.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/2.565, allocations: 227.6 kB / 1.445 GB, free: 51.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/2.565, allocations: 4 kB / 1.445 GB, free: 51.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00076/2.566, allocations: 72.05 kB / 1.445 GB, free: 51.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/2.566, allocations: 31.91 kB / 1.445 GB, free: 51.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/2.566, allocations: 19.97 kB / 1.445 GB, free: 51.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006852/2.567, allocations: 0.5858 MB / 1.446 GB, free: 50.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.567, allocations: 0 / 1.446 GB, free: 50.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002145/2.569, allocations: 0.6205 MB / 1.446 GB, free: 50.3 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/2.571, allocations: 1.816 MB / 1.448 GB, free: 48.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002284/2.573, allocations: 0.7743 MB / 1.449 GB, free: 47.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/2.573, allocations: 0 / 1.449 GB, free: 47.65 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004614/2.573, allocations: 207.7 kB / 1.449 GB, free: 47.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/2.576, allocations: 480.8 kB / 1.45 GB, free: 46.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/2.579, allocations: 1.324 MB / 1.451 GB, free: 45.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/2.58, allocations: 1.055 MB / 1.452 GB, free: 44.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001596/2.581, allocations: 270.8 kB / 1.452 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/2.582, allocations: 347.3 kB / 1.453 GB, free: 43.91 MB / 0.6823 GB Notification: Performance of SimCode: time 8.12e-07/2.582, allocations: 0 / 1.453 GB, free: 43.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06156/2.643, allocations: 38.53 MB / 1.49 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/2.644, allocations: 208.5 kB / 1.49 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.605/6.248, allocations: 0 / 1.49 GB, free: 5.699 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValves.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)