Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",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.01316/0.01316, allocations: 171.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8247/0.8247, allocations: 135.2 MB / 151.1 MB, free: 13.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.609/1.609, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001052/0.001051, allocations: 96.88 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5116, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9222/1.434, allocations: 357 MB / 0.9982 GB, free: 156 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/1.434, allocations: 101.6 kB / 0.9983 GB, free: 96 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9955/2.43, allocations: 241.4 MB / 1.234 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.444e-06/2.43, allocations: 3.938 kB / 1.234 GB, free: 89.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.247e-05/2.43, allocations: 16 kB / 1.234 GB, free: 89.89 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002872/2.433, allocations: 1.09 MB / 1.235 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/2.433, allocations: 15.97 kB / 1.235 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/2.433, allocations: 86.52 kB / 1.235 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/2.433, allocations: 83.02 kB / 1.235 GB, free: 88.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/2.434, allocations: 0.5151 MB / 1.236 GB, free: 88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/2.434, allocations: 41 kB / 1.236 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/2.435, allocations: 48 kB / 1.236 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/2.436, allocations: 0.6294 MB / 1.236 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/2.436, allocations: 3.938 kB / 1.236 GB, free: 87.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/2.436, allocations: 16 kB / 1.236 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/2.436, allocations: 16 kB / 1.236 GB, free: 87.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/2.437, allocations: 0.5151 MB / 1.237 GB, free: 86.67 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.003648/2.44, allocations: 3.22 MB / 1.24 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/2.441, allocations: 351.7 kB / 1.24 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/2.441, allocations: 348.4 kB / 1.241 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/2.441, allocations: 34.56 kB / 1.241 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=38): time 3.296e-06/2.441, allocations: 0 / 1.241 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.001997/2.443, allocations: 0.8398 MB / 1.242 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/2.443, allocations: 55.41 kB / 1.242 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/2.444, allocations: 0.5112 MB / 1.242 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/2.444, allocations: 37.64 kB / 1.242 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/2.444, allocations: 324.4 kB / 1.243 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.23e-05/2.444, allocations: 142 kB / 1.243 GB, free: 80.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/2.444, allocations: 8 kB / 1.243 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001138/2.445, allocations: 378.7 kB / 1.243 GB, free: 80.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/2.445, allocations: 213.2 kB / 1.243 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/2.446, allocations: 404.2 kB / 1.244 GB, free: 79.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/2.446, allocations: 248.7 kB / 1.244 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/2.446, allocations: 0 / 1.244 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001314/2.447, allocations: 0.7184 MB / 1.245 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004434/2.448, allocations: 1.748 MB / 1.246 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/2.448, allocations: 4 kB / 1.246 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/2.448, allocations: 143.2 kB / 1.246 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/2.449, allocations: 159.8 kB / 1.247 GB, free: 76.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005613/2.45, allocations: 0.6265 MB / 1.247 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/2.451, allocations: 111.3 kB / 1.247 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/2.451, allocations: 35.98 kB / 1.247 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/2.451, allocations: 4 kB / 1.247 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001134/2.452, allocations: 0.619 MB / 1.248 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/2.452, allocations: 4 kB / 1.248 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/2.452, allocations: 11.95 kB / 1.248 GB, free: 74.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/2.452, allocations: 160.2 kB / 1.248 GB, free: 74.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/2.452, allocations: 12 kB / 1.248 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/2.453, allocations: 91.53 kB / 1.248 GB, free: 74.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/2.453, allocations: 31.98 kB / 1.248 GB, free: 74.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004094/2.454, allocations: 277.4 kB / 1.248 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/2.454, allocations: 63.16 kB / 1.249 GB, free: 74.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/2.455, allocations: 0.6704 MB / 1.249 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/2.455, allocations: 11.95 kB / 1.249 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/2.455, allocations: 0 / 1.249 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/2.455, allocations: 3.984 kB / 1.249 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/2.458, allocations: 1.367 MB / 1.251 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/2.458, allocations: 4 kB / 1.251 GB, free: 72.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/2.458, allocations: 99.91 kB / 1.251 GB, free: 71.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004201/2.459, allocations: 120.8 kB / 1.251 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/2.459, allocations: 15.98 kB / 1.251 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005455/2.459, allocations: 0.6381 MB / 1.251 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.459, allocations: 4.031 kB / 1.251 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/2.461, allocations: 0.7487 MB / 1.252 GB, free: 70.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/2.461, allocations: 204.1 kB / 1.252 GB, free: 70.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/2.461, allocations: 12 kB / 1.252 GB, free: 70.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/2.462, allocations: 63.84 kB / 1.252 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/2.462, allocations: 35.91 kB / 1.252 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/2.462, allocations: 20 kB / 1.252 GB, free: 70 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004561/2.462, allocations: 399.1 kB / 1.253 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.462, allocations: 0 / 1.253 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001485/2.464, allocations: 415.5 kB / 1.253 GB, free: 69.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002498/2.466, allocations: 1.819 MB / 1.255 GB, free: 67.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002073/2.468, allocations: 0.9025 MB / 1.256 GB, free: 66.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.468, allocations: 0 / 1.256 GB, free: 66.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006106/2.469, allocations: 296.2 kB / 1.256 GB, free: 66.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/2.47, allocations: 260.9 kB / 1.256 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/2.474, allocations: 4.668 MB / 1.261 GB, free: 61.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/2.474, allocations: 0.9236 MB / 1.262 GB, free: 60.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006886/2.475, allocations: 145 kB / 1.262 GB, free: 60 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/2.475, allocations: 247.3 kB / 1.262 GB, free: 59.76 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/2.475, allocations: 0 / 1.262 GB, free: 59.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04224/2.518, allocations: 19.04 MB / 1.281 GB, free: 41.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/2.518, allocations: 266.5 kB / 1.281 GB, free: 40.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/5.226, allocations: 3.938 kB / 1.281 GB, free: 40.71 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)