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.007344/0.007344, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001795/0.001795, allocations: 201.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7404/0.7404, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.89 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4326, allocations: 80.2 MB / 0.6592 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01906/0.4517, allocations: 17.46 MB / 0.6762 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008077/0.4599, allocations: 4.907 MB / 0.681 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009401/0.4609, allocations: 17.16 kB / 0.681 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.462, allocations: 263.6 kB / 0.6813 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.4642, allocations: 0.6071 MB / 0.6819 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.4667, allocations: 0.7427 MB / 0.6826 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.4684, allocations: 0.9639 MB / 0.6836 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007477/0.4692, allocations: 335.1 kB / 0.6839 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.4703, allocations: 415.5 kB / 0.6843 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007367/0.4711, allocations: 320.7 kB / 0.6846 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.4712, allocations: 33.69 kB / 0.6846 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.4729, allocations: 0.7262 MB / 0.6853 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.4731, allocations: 136.7 kB / 0.6855 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004479/0.4736, allocations: 240.3 kB / 0.6857 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.4757, allocations: 0.886 MB / 0.6865 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4757, allocations: 3.938 kB / 0.6866 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4757, allocations: 1.062 kB / 0.6866 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.49e-05/0.4757, allocations: 0 / 0.6866 GB, free: 4.695 MB / 0.5137 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.001928/0.4776, allocations: 0.8769 MB / 0.6874 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4777, allocations: 9.75 kB / 0.6874 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.207e-05/0.4778, allocations: 62.72 kB / 0.6875 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.478, allocations: 61.66 kB / 0.6875 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008806/0.4789, allocations: 466 kB / 0.688 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.479, allocations: 24.91 kB / 0.688 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.479, allocations: 28.31 kB / 0.688 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.4796, allocations: 291.3 kB / 0.6883 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4796, allocations: 0 / 0.6883 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.4796, allocations: 6.656 kB / 0.6883 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.4797, allocations: 7.594 kB / 0.6883 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.4801, allocations: 190.5 kB / 0.6885 GB, free: 3.148 MB / 0.5137 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.00215/0.4823, allocations: 1.476 MB / 0.6899 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.4826, allocations: 157.1 kB / 0.6901 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.4828, allocations: 83.44 kB / 0.6902 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/0.4845, allocations: 1.277 MB / 0.6914 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.4845, allocations: 31.97 kB / 0.6915 GB, free: 336 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/0.4845, allocations: 0 / 0.6915 GB, free: 336 kB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006796/0.4852, allocations: 255.4 kB / 0.6917 GB, free: 196 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.4853, allocations: 52.88 kB / 0.6917 GB, free: 132 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007565/0.486, allocations: 0.5849 MB / 0.6923 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.4861, allocations: 27.89 kB / 0.6923 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.4863, allocations: 269.4 kB / 0.6926 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.4863, allocations: 54.59 kB / 0.6927 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.4865, allocations: 75.44 kB / 0.6927 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4866, allocations: 358.3 kB / 0.6931 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4868, allocations: 82.73 kB / 0.6931 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.4871, allocations: 208.3 kB / 0.6933 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.4876, allocations: 240.2 kB / 0.6936 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.4876, allocations: 5.219 kB / 0.6936 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006589/0.4882, allocations: 312.2 kB / 0.6939 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4883, allocations: 6 kB / 0.6939 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4883, allocations: 3.562 kB / 0.6939 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.4883, allocations: 7.562 kB / 0.6939 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.4886, allocations: 60.06 kB / 0.694 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.4886, allocations: 3.031 kB / 0.694 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.489, allocations: 52.03 kB / 0.694 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.489, allocations: 15.62 kB / 0.694 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003211/0.4893, allocations: 214.4 kB / 0.6942 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002834/0.4896, allocations: 223.2 kB / 0.6944 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003862/0.49, allocations: 224.1 kB / 0.6946 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.49, allocations: 3.938 kB / 0.6947 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006096/0.4906, allocations: 312.6 kB / 0.695 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.4907, allocations: 6.031 kB / 0.695 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4907, allocations: 3.25 kB / 0.695 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.4907, allocations: 3.125 kB / 0.695 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.4909, allocations: 66.98 kB / 0.695 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4909, allocations: 12.34 kB / 0.695 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.4913, allocations: 35.58 kB / 0.6951 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.4914, allocations: 18.64 kB / 0.6951 GB, free: 13.72 MB / 0.5294 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.4915, allocations: 203.2 kB / 0.6953 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.4916, allocations: 50.19 kB / 0.6953 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/0.4921, allocations: 248.7 kB / 0.6956 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4922, allocations: 1.344 kB / 0.6956 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4922, allocations: 0 / 0.6956 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4922, allocations: 1.344 kB / 0.6956 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4933, allocations: 0.7328 MB / 0.6963 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4933, allocations: 5.344 kB / 0.6963 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.4934, allocations: 39.67 kB / 0.6963 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4934, allocations: 2.219 kB / 0.6963 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4934, allocations: 7.781 kB / 0.6963 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4934, allocations: 1.25 kB / 0.6963 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/0.4935, allocations: 5.5 kB / 0.6963 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.494, allocations: 355.9 kB / 0.6967 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.4942, allocations: 144.8 kB / 0.6968 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.4942, allocations: 6.094 kB / 0.6968 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.4945, allocations: 9.766 kB / 0.6968 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.4945, allocations: 26.58 kB / 0.6969 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.4945, allocations: 10.53 kB / 0.6969 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004672/0.495, allocations: 425.8 kB / 0.6973 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.495, allocations: 0 / 0.6973 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008316/0.4959, allocations: 221.3 kB / 0.6975 GB, free: 12 MB / 0.5294 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001867/0.4977, allocations: 1.271 MB / 0.6987 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007101/0.4984, allocations: 325 kB / 0.699 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4985, allocations: 0 / 0.699 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.4987, allocations: 94.27 kB / 0.6991 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.4999, allocations: 256.6 kB / 0.6994 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/0.5057, allocations: 3.929 MB / 0.7032 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.5062, allocations: 0.8485 MB / 0.704 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003931/0.5066, allocations: 102.5 kB / 0.7041 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.5068, allocations: 163.4 kB / 0.7043 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.5068, allocations: 0 / 0.7043 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03883/0.5457, allocations: 15.22 MB / 0.7192 GB, free: 8.141 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.641, allocations: 9.594 kB / 0.7192 GB, free: 8.133 MB / 0.545 GB (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/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)