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.002206/0.002206, allocations: 176.2 kB / 7.649 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 1.596/1.596, allocations: 133.6 MB / 141.6 MB, free: 2.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.331/2.331, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.001136/0.001136, allocations: 102.7 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.91e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6587, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.549/2.208, allocations: 360.8 MB / 0.9863 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005089/2.208, allocations: 93.5 kB / 0.9864 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.768/4.976, allocations: 434.3 MB / 1.41 GB, free: 162 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.557e-06/4.976, allocations: 0 / 1.41 GB, free: 162 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002016/4.976, allocations: 35.73 kB / 1.411 GB, free: 162 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.004843/4.981, allocations: 1.329 MB / 1.412 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.432e-05/4.981, allocations: 12.66 kB / 1.412 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009599/4.982, allocations: 155.6 kB / 1.412 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/4.985, allocations: 0.8198 MB / 1.413 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/4.985, allocations: 17.94 kB / 1.413 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/4.985, allocations: 84.95 kB / 1.413 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001007/4.986, allocations: 392.7 kB / 1.413 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/4.987, allocations: 0.5129 MB / 1.414 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/4.987, allocations: 3.844 kB / 1.414 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/4.987, allocations: 2.156 kB / 1.414 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/4.987, allocations: 18.42 kB / 1.414 GB, free: 160.9 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.006946/4.994, allocations: 2.91 MB / 1.417 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007365/4.995, allocations: 309.6 kB / 1.417 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/4.995, allocations: 132.8 kB / 1.417 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/4.996, allocations: 353.2 kB / 1.417 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/4.996, allocations: 37.86 kB / 1.417 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 5.801e-06/4.996, allocations: 0 / 1.417 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002516/4.998, allocations: 484.9 kB / 1.418 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/4.998, allocations: 55.38 kB / 1.418 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/4.999, allocations: 0.6445 MB / 1.419 GB, free: 159 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002654/5, allocations: 33.58 kB / 1.419 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/5, allocations: 0.5371 MB / 1.419 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/5, allocations: 113.5 kB / 1.419 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/5.001, allocations: 0 / 1.419 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001171/5.001, allocations: 332.4 kB / 1.42 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/5.001, allocations: 152.9 kB / 1.42 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/5.003, allocations: 1.365 MB / 1.421 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/5.004, allocations: 378.2 kB / 1.421 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/5.004, allocations: 3.219 kB / 1.421 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002636/5.007, allocations: 0.6475 MB / 1.422 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004022/5.008, allocations: 0.8106 MB / 1.423 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/5.008, allocations: 10.19 kB / 1.423 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.507e-05/5.008, allocations: 3.688 kB / 1.423 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/5.009, allocations: 204 kB / 1.423 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/5.011, allocations: 2.986 MB / 1.426 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005851/5.017, allocations: 0.8775 MB / 1.427 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/5.018, allocations: 30.03 kB / 1.427 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/5.018, allocations: 3.812 kB / 1.427 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002162/5.02, allocations: 486.7 kB / 1.427 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/5.02, allocations: 1.844 kB / 1.427 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/5.02, allocations: 7.5 kB / 1.427 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009701/5.021, allocations: 156.4 kB / 1.427 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/5.021, allocations: 11.47 kB / 1.427 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005808/5.027, allocations: 0.8642 MB / 1.428 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/5.027, allocations: 29.75 kB / 1.428 GB, free: 153.3 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 (71): * Single equations (assignments): 66 * 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.0009623/5.028, allocations: 132.4 kB / 1.428 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002095/5.03, allocations: 436.4 kB / 1.429 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/5.03, allocations: 85.19 kB / 1.429 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/5.032, allocations: 0.5445 MB / 1.429 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/5.033, allocations: 3.719 kB / 1.429 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/5.033, allocations: 0 / 1.429 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/5.033, allocations: 6.672 kB / 1.429 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/5.036, allocations: 1.217 MB / 1.431 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/5.036, allocations: 0 / 1.431 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/5.037, allocations: 121.7 kB / 1.431 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/5.037, allocations: 7.016 kB / 1.431 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/5.037, allocations: 8.312 kB / 1.431 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/5.038, allocations: 2.945 MB / 1.434 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/5.038, allocations: 3.953 kB / 1.434 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/5.04, allocations: 0.6508 MB / 1.434 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007126/5.04, allocations: 217 kB / 1.435 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004177/5.041, allocations: 3.188 kB / 1.435 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/5.042, allocations: 66.47 kB / 1.435 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/5.042, allocations: 29.97 kB / 1.435 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/5.042, allocations: 18.64 kB / 1.435 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001087/5.044, allocations: 487.4 kB / 1.435 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.184e-06/5.044, allocations: 0 / 1.435 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003646/5.047, allocations: 0.5854 MB / 1.436 GB, free: 149.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 () * 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.003812/5.051, allocations: 1.865 MB / 1.438 GB, free: 148 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003463/5.055, allocations: 0.7403 MB / 1.438 GB, free: 148 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/5.055, allocations: 3.844 kB / 1.438 GB, free: 148 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000538/5.055, allocations: 201.7 kB / 1.438 GB, free: 148 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/5.058, allocations: 384 kB / 1.439 GB, free: 148 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/5.064, allocations: 1.255 MB / 1.44 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008491/5.065, allocations: 1.052 MB / 1.441 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003089/5.068, allocations: 249.5 kB / 1.441 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007332/5.069, allocations: 344.4 kB / 1.442 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.575e-06/5.069, allocations: 3.281 kB / 1.442 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/5.184, allocations: 32.11 MB / 1.473 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/5.184, allocations: 170.9 kB / 1.473 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.025/10.21, allocations: 2.875 kB / 1.473 GB, free: 124.4 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)