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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005469/0.005469, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001131/0.001131, allocations: 191.2 kB / 16.67 MB, free: 5.98 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9506/0.9506, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.4769, allocations: 80.92 MB / 0.6647 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01546/0.4924, allocations: 15.54 MB / 0.6798 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006958/0.4994, allocations: 4.325 MB / 0.6841 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007132/0.5002, allocations: 16.5 kB / 0.6841 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.5012, allocations: 274.7 kB / 0.6843 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.503, allocations: 0.6271 MB / 0.6849 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001963/0.505, allocations: 0.7063 MB / 0.6856 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.5065, allocations: 1.048 MB / 0.6867 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.5071, allocations: 336 kB / 0.687 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007923/0.5079, allocations: 434 kB / 0.6874 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.5083, allocations: 323.1 kB / 0.6877 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.5084, allocations: 26.62 kB / 0.6877 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.5096, allocations: 0.6322 MB / 0.6883 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.5098, allocations: 96.83 kB / 0.6884 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.51, allocations: 230.6 kB / 0.6887 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.5112, allocations: 0.7703 MB / 0.6894 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5112, allocations: 1.25 kB / 0.6894 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5112, allocations: 0 / 0.6894 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.5112, allocations: 0 / 0.6894 GB, free: 4.094 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001343/0.5126, allocations: 0.8317 MB / 0.6902 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5126, allocations: 9.812 kB / 0.6902 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.5127, allocations: 58.09 kB / 0.6903 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.5134, allocations: 430.9 kB / 0.6907 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.5134, allocations: 20.41 kB / 0.6907 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.5135, allocations: 30.53 kB / 0.6907 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.5139, allocations: 214 kB / 0.691 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.514, allocations: 0 / 0.691 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.514, allocations: 5.25 kB / 0.691 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.514, allocations: 5.625 kB / 0.691 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.5144, allocations: 166.3 kB / 0.6911 GB, free: 2.742 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.001575/0.516, allocations: 0.9447 MB / 0.692 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.5163, allocations: 131.5 kB / 0.6922 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.5164, allocations: 76.33 kB / 0.6922 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.5167, allocations: 336.3 kB / 0.6926 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5168, allocations: 31.75 kB / 0.6926 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.5168, allocations: 4 kB / 0.6926 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006287/0.5174, allocations: 241 kB / 0.6928 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.5175, allocations: 54.19 kB / 0.6929 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.518, allocations: 477.2 kB / 0.6933 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.5181, allocations: 32.89 kB / 0.6934 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.5183, allocations: 224.1 kB / 0.6936 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.5183, allocations: 53.98 kB / 0.6936 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.5184, allocations: 58 kB / 0.6937 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5186, allocations: 357.3 kB / 0.694 GB, free: 264 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.5188, allocations: 72.03 kB / 0.6941 GB, free: 224 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.5191, allocations: 156.5 kB / 0.6942 GB, free: 100 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.5194, allocations: 166.8 kB / 0.6944 GB, free: 0 / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5194, allocations: 1.375 kB / 0.6944 GB, free: 0 / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005237/0.52, allocations: 252.5 kB / 0.6946 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.52, allocations: 13.36 kB / 0.6947 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.52, allocations: 9.125 kB / 0.6947 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.52, allocations: 1.281 kB / 0.6947 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.5202, allocations: 42.94 kB / 0.6947 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.5203, allocations: 7 kB / 0.6947 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.5206, allocations: 36.23 kB / 0.6947 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.5206, allocations: 12.83 kB / 0.6948 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002625/0.5209, allocations: 193.7 kB / 0.6949 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002489/0.5211, allocations: 159.6 kB / 0.6951 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003178/0.5215, allocations: 171.8 kB / 0.6953 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/0.5215, allocations: 0 / 0.6953 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000496/0.522, allocations: 251 kB / 0.6955 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.522, allocations: 5.5 kB / 0.6955 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.522, allocations: 1.156 kB / 0.6955 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/0.522, allocations: 6.312 kB / 0.6955 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.5222, allocations: 51.7 kB / 0.6956 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.5222, allocations: 1.281 kB / 0.6956 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.5225, allocations: 31.12 kB / 0.6956 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.5226, allocations: 11.94 kB / 0.6956 GB, free: 15.25 MB / 0.5294 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.5227, allocations: 205.5 kB / 0.6958 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.5228, allocations: 38.5 kB / 0.6958 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.5233, allocations: 239.1 kB / 0.6961 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.5233, allocations: 5.328 kB / 0.6961 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5234, allocations: 1.781 kB / 0.6961 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5234, allocations: 4.031 kB / 0.6961 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.5243, allocations: 0.7142 MB / 0.6968 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5244, allocations: 1.375 kB / 0.6968 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.5245, allocations: 31.3 kB / 0.6968 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5245, allocations: 5.312 kB / 0.6968 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.5245, allocations: 6.75 kB / 0.6968 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5245, allocations: 6.734 kB / 0.6968 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5245, allocations: 5.359 kB / 0.6968 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.525, allocations: 344.2 kB / 0.6972 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.5251, allocations: 144.9 kB / 0.6973 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.5252, allocations: 10.75 kB / 0.6973 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.5254, allocations: 10.86 kB / 0.6973 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.5255, allocations: 17.48 kB / 0.6973 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.5255, allocations: 5.5 kB / 0.6973 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003806/0.5259, allocations: 337.3 kB / 0.6977 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5259, allocations: 0 / 0.6977 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007098/0.5266, allocations: 194.3 kB / 0.6978 GB, free: 13.6 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 (16): * Single equations (assignments): 14 * 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.001121/0.5277, allocations: 477.5 kB / 0.6983 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006636/0.5284, allocations: 272.1 kB / 0.6986 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5284, allocations: 1.594 kB / 0.6986 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.5286, allocations: 91.69 kB / 0.6986 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009126/0.5295, allocations: 199.6 kB / 0.6988 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5308, allocations: 0.7079 MB / 0.6995 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.5312, allocations: 0.8253 MB / 0.7003 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002801/0.5315, allocations: 93.83 kB / 0.7004 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.5316, allocations: 33.31 kB / 0.7005 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.5316, allocations: 0 / 0.7005 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of Templates: time 0.01598/0.5476, allocations: 8.501 MB / 0.7088 GB, free: 4.082 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)