Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.001893/0.001893, allocations: 180.9 kB / 7.65 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.172/1.172, allocations: 133.5 MB / 141.6 MB, free: 2.883 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.558/2.558, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001451/0.001451, allocations: 104.4 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.549e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7908, allocations: 82.29 MB / 0.6339 GB, free: 40.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.39/2.181, allocations: 358.7 MB / 0.9842 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004789/2.182, allocations: 99 kB / 0.9843 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.538/3.72, allocations: 177.2 MB / 1.157 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.336e-06/3.72, allocations: 4 kB / 1.157 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001316/3.72, allocations: 22.69 kB / 1.157 GB, free: 185.3 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00264/3.723, allocations: 0.7337 MB / 1.158 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.926e-05/3.723, allocations: 8.031 kB / 1.158 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000466/3.724, allocations: 59.3 kB / 1.158 GB, free: 184.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/3.725, allocations: 434.1 kB / 1.159 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/3.725, allocations: 4 kB / 1.159 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/3.725, allocations: 20 kB / 1.159 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004685/3.726, allocations: 128.8 kB / 1.159 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/3.726, allocations: 158.4 kB / 1.159 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/3.726, allocations: 0 / 1.159 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/3.726, allocations: 0 / 1.159 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/3.726, allocations: 11.95 kB / 1.159 GB, free: 183.7 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.002906/3.729, allocations: 0.8891 MB / 1.16 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/3.73, allocations: 118.1 kB / 1.16 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/3.73, allocations: 56.84 kB / 1.16 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004068/3.73, allocations: 340.4 kB / 1.16 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/3.73, allocations: 30.56 kB / 1.16 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 3.787e-06/3.73, allocations: 0 / 1.16 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0008269/3.731, allocations: 161.4 kB / 1.16 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/3.731, allocations: 51.41 kB / 1.16 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/3.732, allocations: 373.1 kB / 1.161 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/3.732, allocations: 25.7 kB / 1.161 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/3.732, allocations: 232.7 kB / 1.161 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/3.732, allocations: 39.36 kB / 1.161 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/3.732, allocations: 3.938 kB / 1.161 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001437/3.733, allocations: 350.8 kB / 1.161 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/3.733, allocations: 48 kB / 1.161 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/3.733, allocations: 155.9 kB / 1.162 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/3.733, allocations: 81.36 kB / 1.162 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/3.733, allocations: 0 / 1.162 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007187/3.734, allocations: 213.1 kB / 1.162 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/3.734, allocations: 268.3 kB / 1.162 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/3.734, allocations: 4 kB / 1.162 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/3.734, allocations: 3.938 kB / 1.162 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/3.735, allocations: 56.06 kB / 1.162 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/3.735, allocations: 7.891 kB / 1.162 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/3.736, allocations: 43.7 kB / 1.162 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/3.736, allocations: 11.98 kB / 1.162 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/3.736, allocations: 8 kB / 1.162 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004928/3.736, allocations: 136.6 kB / 1.162 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/3.736, allocations: 4 kB / 1.162 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/3.736, allocations: 0 / 1.162 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/3.736, allocations: 47.91 kB / 1.162 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/3.737, allocations: 4 kB / 1.162 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/3.737, allocations: 43.8 kB / 1.162 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/3.737, allocations: 8 kB / 1.162 GB, free: 179.7 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001411/3.737, allocations: 112.9 kB / 1.163 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005103/3.738, allocations: 161.1 kB / 1.163 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/3.738, allocations: 39.53 kB / 1.163 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007398/3.739, allocations: 221.8 kB / 1.163 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/3.739, allocations: 0 / 1.163 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/3.739, allocations: 0 / 1.163 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/3.739, allocations: 0 / 1.163 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/3.74, allocations: 0.6261 MB / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/3.74, allocations: 4.125 kB / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/3.741, allocations: 35.97 kB / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/3.741, allocations: 4 kB / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/3.741, allocations: 4 kB / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/3.741, allocations: 0 / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/3.741, allocations: 7.938 kB / 1.164 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/3.741, allocations: 358.3 kB / 1.164 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/3.742, allocations: 140.6 kB / 1.164 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/3.742, allocations: 0 / 1.164 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/3.742, allocations: 35.81 kB / 1.164 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/3.742, allocations: 15.98 kB / 1.164 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/3.742, allocations: 4 kB / 1.164 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005183/3.743, allocations: 282.9 kB / 1.164 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/3.743, allocations: 4 kB / 1.164 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001669/3.744, allocations: 223.6 kB / 1.165 GB, free: 177.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 (16): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003514/3.748, allocations: 1.586 MB / 1.166 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007476/3.749, allocations: 238 kB / 1.166 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/3.749, allocations: 0 / 1.166 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/3.749, allocations: 63.92 kB / 1.167 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/3.751, allocations: 190.1 kB / 1.167 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/3.754, allocations: 0.6019 MB / 1.167 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/3.754, allocations: 0.8351 MB / 1.168 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008461/3.755, allocations: 123.5 kB / 1.168 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/3.755, allocations: 139.4 kB / 1.168 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of SimCode: time 3.516e-06/3.755, allocations: 0 / 1.168 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06605/3.821, allocations: 12.02 MB / 1.18 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/3.822, allocations: 173.2 kB / 1.18 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.021/7.843, allocations: 4.031 kB / 1.18 GB, free: 161.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)