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.001286/0.001286, allocations: 174.6 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.6701/0.6701, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.293/1.293, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0007854/0.0007854, allocations: 100.5 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.467e-05, allocations: 3.406 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 82.3 MB / 0.6405 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9987/1.141, allocations: 359.3 MB / 0.9914 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/1.141, allocations: 94.17 kB / 0.9915 GB, free: 259.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2995/1.441, allocations: 178.5 MB / 1.166 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.173e-06/1.441, allocations: 0 / 1.166 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.048e-05/1.441, allocations: 15.98 kB / 1.166 GB, free: 82.43 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.0009872/1.442, allocations: 0.7396 MB / 1.167 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/1.442, allocations: 12.03 kB / 1.167 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/1.442, allocations: 62.47 kB / 1.167 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/1.442, allocations: 59.3 kB / 1.167 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/1.443, allocations: 421.5 kB / 1.167 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/1.443, allocations: 20.44 kB / 1.167 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/1.443, allocations: 31.94 kB / 1.167 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/1.443, allocations: 187.3 kB / 1.167 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.443, allocations: 4 kB / 1.167 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/1.443, allocations: 8 kB / 1.167 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/1.443, allocations: 4 kB / 1.167 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/1.443, allocations: 141.7 kB / 1.167 GB, free: 80.65 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.001271/1.444, allocations: 0.9497 MB / 1.168 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/1.445, allocations: 122.5 kB / 1.168 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/1.445, allocations: 56.84 kB / 1.169 GB, free: 79.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/1.445, allocations: 336.4 kB / 1.169 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/1.445, allocations: 34.56 kB / 1.169 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/1.445, allocations: 0 / 1.169 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0002869/1.445, allocations: 169.3 kB / 1.169 GB, free: 78.81 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/1.445, allocations: 51.41 kB / 1.169 GB, free: 78.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/1.446, allocations: 419.8 kB / 1.169 GB, free: 78.33 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/1.446, allocations: 29.7 kB / 1.17 GB, free: 78.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.446, allocations: 232.4 kB / 1.17 GB, free: 78.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/1.446, allocations: 47.3 kB / 1.17 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/1.446, allocations: 4 kB / 1.17 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.574e-05/1.446, allocations: 354.7 kB / 1.17 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.169e-05/1.446, allocations: 56 kB / 1.17 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/1.446, allocations: 154.2 kB / 1.17 GB, free: 77.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/1.446, allocations: 76.75 kB / 1.17 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.446, allocations: 0 / 1.17 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002845/1.446, allocations: 222.1 kB / 1.171 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/1.447, allocations: 267 kB / 1.171 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.447, allocations: 3.953 kB / 1.171 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/1.447, allocations: 4 kB / 1.171 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/1.447, allocations: 51.91 kB / 1.171 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.447, allocations: 4 kB / 1.171 GB, free: 76.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/1.447, allocations: 47.72 kB / 1.171 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/1.447, allocations: 11.98 kB / 1.171 GB, free: 76.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/1.447, allocations: 5.094 kB / 1.171 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002223/1.447, allocations: 148.7 kB / 1.171 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/1.447, allocations: 0 / 1.171 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/1.447, allocations: 4 kB / 1.171 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/1.448, allocations: 47.91 kB / 1.171 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/1.448, allocations: 3.984 kB / 1.171 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/1.448, allocations: 63.58 kB / 1.171 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/1.448, allocations: 12 kB / 1.171 GB, free: 76.44 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 6.09e-05/1.448, allocations: 116.9 kB / 1.171 GB, free: 76.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/1.448, allocations: 39.53 kB / 1.171 GB, free: 76.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/1.448, allocations: 227.6 kB / 1.172 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.448, allocations: 4 kB / 1.172 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.448, allocations: 0 / 1.172 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.448, allocations: 192 / 1.172 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/1.449, allocations: 0.6917 MB / 1.172 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.449, allocations: 3.984 kB / 1.172 GB, free: 75.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/1.449, allocations: 31.92 kB / 1.172 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/1.449, allocations: 4 kB / 1.172 GB, free: 75.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.449, allocations: 11.98 kB / 1.172 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.449, allocations: 3.984 kB / 1.172 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.449, allocations: 4 kB / 1.172 GB, free: 75.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/1.45, allocations: 369.2 kB / 1.173 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.45, allocations: 144.4 kB / 1.173 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/1.45, allocations: 8 kB / 1.173 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/1.45, allocations: 31.88 kB / 1.173 GB, free: 74.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/1.45, allocations: 7.984 kB / 1.173 GB, free: 74.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/1.45, allocations: 12 kB / 1.173 GB, free: 74.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002538/1.45, allocations: 325.6 kB / 1.173 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/1.45, allocations: 0 / 1.173 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000611/1.451, allocations: 227.7 kB / 1.173 GB, free: 74.06 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.001391/1.452, allocations: 1.625 MB / 1.175 GB, free: 72.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003579/1.453, allocations: 242.5 kB / 1.175 GB, free: 72.26 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.453, allocations: 0 / 1.175 GB, free: 72.26 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.649e-05/1.453, allocations: 75.84 kB / 1.175 GB, free: 72.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009817/1.454, allocations: 222.6 kB / 1.176 GB, free: 71.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/1.455, allocations: 0.6263 MB / 1.176 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/1.455, allocations: 0.8395 MB / 1.177 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003978/1.455, allocations: 127.2 kB / 1.177 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/1.456, allocations: 135.4 kB / 1.177 GB, free: 70.17 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/1.456, allocations: 0 / 1.177 GB, free: 70.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.219/3.674, allocations: 14.68 MB / 1.192 GB, free: 55.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/3.675, allocations: 196.8 kB / 1.192 GB, free: 55.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/6.012, allocations: 0 / 1.192 GB, free: 55.48 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)