Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002341/0.002342, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.635/2.635, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.205/1.205, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000696/0.0006966, allocations: 12 kB / 0.5033 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8502, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.03434/0.8846, allocations: 14.75 MB / 0.5974 GB, free: 9.695 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.8978, allocations: 4.228 MB / 0.6015 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.8995, allocations: 11.06 kB / 0.6015 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.9017, allocations: 241.1 kB / 0.6017 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004199/0.9059, allocations: 0.5557 MB / 0.6023 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.9106, allocations: 0.7654 MB / 0.603 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00335/0.914, allocations: 0.5907 MB / 0.6036 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.9154, allocations: 273.6 kB / 0.6039 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.9173, allocations: 329.5 kB / 0.6042 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.9184, allocations: 219.5 kB / 0.6044 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.9186, allocations: 15.59 kB / 0.6044 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.9214, allocations: 461.7 kB / 0.6049 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.9218, allocations: 111.7 kB / 0.605 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.9223, allocations: 112.8 kB / 0.6051 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.9246, allocations: 0.5422 MB / 0.6056 GB, free: 4.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.9246, allocations: 0 / 0.6056 GB, free: 4.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.531e-06/0.9247, allocations: 0 / 0.6056 GB, free: 4.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.069e-05/0.9247, allocations: 0 / 0.6056 GB, free: 4.188 MB / 446.1 MB 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.003808/0.9286, allocations: 0.7827 MB / 0.6064 GB, free: 3.508 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001112/0.9287, allocations: 9.5 kB / 0.6064 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002499/0.929, allocations: 63.45 kB / 0.6064 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005426/0.9295, allocations: 61.17 kB / 0.6065 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.9314, allocations: 417.9 kB / 0.6069 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/0.9315, allocations: 20.94 kB / 0.6069 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.9316, allocations: 31.17 kB / 0.6069 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.9328, allocations: 293.5 kB / 0.6072 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.9328, allocations: 0 / 0.6072 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.556e-05/0.9328, allocations: 10.19 kB / 0.6072 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.9329, allocations: 6.219 kB / 0.6072 GB, free: 2.836 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008221/0.9337, allocations: 207.4 kB / 0.6074 GB, free: 2.738 MB / 446.1 MB 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.004216/0.9379, allocations: 1.469 MB / 0.6089 GB, free: 1.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/0.9386, allocations: 185.8 kB / 0.609 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003072/0.9416, allocations: 1.279 MB / 0.6103 GB, free: 0 / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.102e-05/0.9418, allocations: 35.75 kB / 0.6103 GB, free: 15.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/0.9418, allocations: 1.188 kB / 0.6103 GB, free: 15.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.001278/0.9431, allocations: 263.6 kB / 0.6106 GB, free: 15.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.9432, allocations: 60.77 kB / 0.6106 GB, free: 15.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.9447, allocations: 0.5807 MB / 0.6112 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.9448, allocations: 31.95 kB / 0.6112 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.9452, allocations: 270.2 kB / 0.6115 GB, free: 15.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/0.9453, allocations: 58.39 kB / 0.6115 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/0.9453, allocations: 5.375 kB / 0.6115 GB, free: 15.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002969/0.9456, allocations: 353.8 kB / 0.6119 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.946, allocations: 76.5 kB / 0.612 GB, free: 14.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004961/0.9466, allocations: 217.3 kB / 0.6122 GB, free: 14.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.9469, allocations: 101.5 kB / 0.6123 GB, free: 14.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.9469, allocations: 1.281 kB / 0.6123 GB, free: 14.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008885/0.9478, allocations: 320.8 kB / 0.6126 GB, free: 14.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007471/0.9486, allocations: 0.9652 MB / 0.6135 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.9486, allocations: 2.531 kB / 0.6135 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.419e-05/0.9487, allocations: 5.344 kB / 0.6135 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.949, allocations: 65.59 kB / 0.6136 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.949, allocations: 4 kB / 0.6136 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.9496, allocations: 52.53 kB / 0.6136 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.9497, allocations: 15.47 kB / 0.6137 GB, free: 13.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.9497, allocations: 5.625 kB / 0.6137 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000645/0.9503, allocations: 246.3 kB / 0.6139 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.9504, allocations: 2.156 kB / 0.6139 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.9504, allocations: 4.5 kB / 0.6139 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.9507, allocations: 66.16 kB / 0.614 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.9507, allocations: 3.281 kB / 0.614 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.9513, allocations: 60.48 kB / 0.614 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.9513, allocations: 14.19 kB / 0.614 GB, free: 13.05 MB / 462.1 MB 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 () * Number of clocked 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.0004695/0.9518, allocations: 259.8 kB / 0.6143 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.952, allocations: 45.38 kB / 0.6143 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008726/0.9529, allocations: 269.6 kB / 0.6146 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.9529, allocations: 1.312 kB / 0.6146 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.9529, allocations: 1.531 kB / 0.6146 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/0.9529, allocations: 3.984 kB / 0.6146 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.9549, allocations: 0.7411 MB / 0.6153 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.9549, allocations: 5.438 kB / 0.6153 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.9551, allocations: 34.05 kB / 0.6154 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.9551, allocations: 2.969 kB / 0.6154 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.9552, allocations: 2.188 kB / 0.6154 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.9552, allocations: 6.25 kB / 0.6154 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.9552, allocations: 1.375 kB / 0.6154 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.9561, allocations: 422 kB / 0.6158 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.9565, allocations: 153.7 kB / 0.6159 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.9567, allocations: 9.922 kB / 0.6159 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.957, allocations: 19.94 kB / 0.6159 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.9571, allocations: 22.31 kB / 0.616 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.9571, allocations: 5.531 kB / 0.616 GB, free: 11.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009198/0.958, allocations: 415.2 kB / 0.6164 GB, free: 11.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.958, allocations: 0 / 0.6164 GB, free: 11.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002061/0.9601, allocations: 230.7 kB / 0.6166 GB, free: 11.21 MB / 462.1 MB 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 () * Number of clocked 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.003151/0.9633, allocations: 1.606 MB / 0.6182 GB, free: 9.945 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009762/0.9643, allocations: 325 kB / 0.6185 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9643, allocations: 1.5 kB / 0.6185 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.9645, allocations: 98.19 kB / 0.6186 GB, free: 9.777 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.966, allocations: 244.4 kB / 0.6188 GB, free: 9.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.9705, allocations: 2.946 MB / 0.6217 GB, free: 7.016 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/0.9713, allocations: 0.8601 MB / 0.6225 GB, free: 6.227 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006334/0.9719, allocations: 107 kB / 0.6226 GB, free: 6.172 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.9722, allocations: 163.8 kB / 0.6228 GB, free: 6.039 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.9722, allocations: 0 / 0.6228 GB, free: 6.039 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/1.013, allocations: 13.99 MB / 0.6364 GB, free: 9.312 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/1.013, allocations: 225.2 kB / 0.6366 GB, free: 9.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.26/4.274, allocations: 0 / 0.6366 GB, free: 9.07 MB / 478.1 MB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Examples_TwoWayValveTable.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1) Environment - environmentSimulation: