Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.001565/0.001565, allocations: 174.9 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.7759/0.7759, 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.365/1.365, 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.0008572/0.0008573, allocations: 101.1 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.364e-05, allocations: 3.594 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.235, allocations: 363.8 MB / 0.9958 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.235, allocations: 95.14 kB / 0.9959 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3528/1.588, allocations: 178.5 MB / 1.17 GB, free: 63.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/1.588, allocations: 0 / 1.17 GB, free: 63.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.735e-05/1.588, allocations: 16 kB / 1.17 GB, free: 63.15 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00164/1.59, allocations: 0.7825 MB / 1.171 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/1.59, allocations: 8.031 kB / 1.171 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/1.59, allocations: 58.55 kB / 1.171 GB, free: 62.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/1.59, allocations: 67.28 kB / 1.171 GB, free: 62.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/1.591, allocations: 449.4 kB / 1.172 GB, free: 61.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/1.591, allocations: 24.5 kB / 1.172 GB, free: 61.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.201e-05/1.591, allocations: 36 kB / 1.172 GB, free: 61.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004512/1.592, allocations: 258.3 kB / 1.172 GB, free: 61.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/1.592, allocations: 0 / 1.172 GB, free: 61.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/1.592, allocations: 12 kB / 1.172 GB, free: 61.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/1.592, allocations: 4 kB / 1.172 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/1.592, allocations: 166 kB / 1.172 GB, free: 61.19 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.002118/1.594, allocations: 1.511 MB / 1.174 GB, free: 59.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/1.594, allocations: 138.7 kB / 1.174 GB, free: 59.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.595, allocations: 76.92 kB / 1.174 GB, free: 59.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/1.596, allocations: 1.315 MB / 1.175 GB, free: 57.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/1.596, allocations: 30.56 kB / 1.175 GB, free: 57.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/1.596, allocations: 0 / 1.175 GB, free: 57.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005204/1.597, allocations: 174.7 kB / 1.175 GB, free: 57.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/1.597, allocations: 55.41 kB / 1.175 GB, free: 57.56 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009369/1.598, allocations: 0.5124 MB / 1.176 GB, free: 57.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/1.598, allocations: 33.7 kB / 1.176 GB, free: 57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/1.598, allocations: 267.8 kB / 1.176 GB, free: 56.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/1.598, allocations: 59.28 kB / 1.176 GB, free: 56.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/1.598, allocations: 4 kB / 1.176 GB, free: 56.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/1.598, allocations: 358.8 kB / 1.176 GB, free: 56.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/1.598, allocations: 52.56 kB / 1.177 GB, free: 56.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/1.599, allocations: 213.3 kB / 1.177 GB, free: 55.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/1.599, allocations: 91.84 kB / 1.177 GB, free: 55.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/1.599, allocations: 0 / 1.177 GB, free: 55.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005677/1.599, allocations: 271 kB / 1.177 GB, free: 55.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003465/1.6, allocations: 0.969 MB / 1.178 GB, free: 54.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.6, allocations: 8.031 kB / 1.178 GB, free: 54.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/1.6, allocations: 7.984 kB / 1.178 GB, free: 54.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/1.6, allocations: 63.89 kB / 1.178 GB, free: 54.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.6, allocations: 7.938 kB / 1.178 GB, free: 54.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/1.601, allocations: 63.56 kB / 1.178 GB, free: 54.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/1.601, allocations: 12 kB / 1.178 GB, free: 54.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.601, allocations: 4 kB / 1.178 GB, free: 54.42 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003961/1.601, allocations: 205.5 kB / 1.178 GB, free: 54.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/1.601, allocations: 4 kB / 1.178 GB, free: 54.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/1.601, allocations: 8.25 kB / 1.178 GB, free: 54.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/1.601, allocations: 63.91 kB / 1.178 GB, free: 54.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.601, allocations: 11.92 kB / 1.178 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/1.602, allocations: 39.83 kB / 1.179 GB, free: 54.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/1.602, allocations: 19.98 kB / 1.179 GB, free: 54.08 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001375/1.602, allocations: 132.8 kB / 1.179 GB, free: 53.94 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.602, allocations: 51.34 kB / 1.179 GB, free: 53.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005141/1.603, allocations: 233.8 kB / 1.179 GB, free: 53.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.603, allocations: 4 kB / 1.179 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.603, allocations: 0 / 1.179 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.603, allocations: 0 / 1.179 GB, free: 53.65 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009971/1.604, allocations: 0.7278 MB / 1.18 GB, free: 52.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/1.604, allocations: 0 / 1.18 GB, free: 52.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/1.604, allocations: 31.98 kB / 1.18 GB, free: 52.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/1.604, allocations: 0 / 1.18 GB, free: 52.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/1.604, allocations: 8 kB / 1.18 GB, free: 52.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.604, allocations: 12.05 kB / 1.18 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.604, allocations: 4 kB / 1.18 GB, free: 52.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/1.604, allocations: 376.3 kB / 1.18 GB, free: 52.38 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/1.605, allocations: 148.5 kB / 1.18 GB, free: 52.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/1.605, allocations: 8 kB / 1.18 GB, free: 52.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/1.605, allocations: 23.88 kB / 1.18 GB, free: 52.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/1.605, allocations: 27.88 kB / 1.18 GB, free: 52.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/1.605, allocations: 4 kB / 1.18 GB, free: 52.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003808/1.605, allocations: 405.5 kB / 1.181 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/1.605, allocations: 0 / 1.181 GB, free: 51.77 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009055/1.606, allocations: 267.7 kB / 1.181 GB, free: 51.5 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 (17): * Single equations (assignments): 15 * 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.001675/1.608, allocations: 1.665 MB / 1.183 GB, free: 49.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000523/1.608, allocations: 301.4 kB / 1.183 GB, free: 49.61 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.608, allocations: 4.312 kB / 1.183 GB, free: 49.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/1.609, allocations: 79.84 kB / 1.183 GB, free: 49.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.61, allocations: 245 kB / 1.183 GB, free: 49.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/1.611, allocations: 0.7247 MB / 1.184 GB, free: 48.52 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/1.611, allocations: 0.8596 MB / 1.185 GB, free: 47.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005438/1.612, allocations: 188.1 kB / 1.185 GB, free: 47.45 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/1.612, allocations: 159.4 kB / 1.185 GB, free: 47.29 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/1.612, allocations: 0 / 1.185 GB, free: 47.29 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/1.644, allocations: 17.12 MB / 1.202 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/1.644, allocations: 187.8 kB / 1.202 GB, free: 30.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/4.145, allocations: 4 kB / 1.202 GB, free: 30.18 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)