Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 109 kB / 16.41 MB, free: 6.5 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.001208/0.001208, allocations: 187 kB / 17.34 MB, free: 5.742 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7411/0.7411, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 63.2 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1469, allocations: 80.93 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03039/0.1773, allocations: 30.75 MB / 0.6953 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.1906, allocations: 10.84 MB / 0.7059 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.1917, allocations: 31.75 kB / 0.7059 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.193, allocations: 393.3 kB / 0.7063 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.1961, allocations: 1.154 MB / 0.7075 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.1983, allocations: 0.8504 MB / 0.7083 GB, free: 9.629 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002488/0.2008, allocations: 2.064 MB / 0.7103 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.2019, allocations: 0.6778 MB / 0.711 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.2037, allocations: 1.004 MB / 0.7119 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.2048, allocations: 0.6729 MB / 0.7126 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.2049, allocations: 56 kB / 0.7126 GB, free: 5.137 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.2062, allocations: 0.6122 MB / 0.7132 GB, free: 4.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.2064, allocations: 163.2 kB / 0.7134 GB, free: 4.363 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.2069, allocations: 433.7 kB / 0.7138 GB, free: 3.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.2083, allocations: 1.11 MB / 0.7149 GB, free: 2.824 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2083, allocations: 4 kB / 0.7149 GB, free: 2.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2083, allocations: 0 / 0.7149 GB, free: 2.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.877e-05/0.2084, allocations: 0 / 0.7149 GB, free: 2.82 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001828/0.2102, allocations: 1.152 MB / 0.716 GB, free: 1.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2103, allocations: 9.109 kB / 0.716 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.2104, allocations: 95.81 kB / 0.7161 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008925/0.2113, allocations: 0.5883 MB / 0.7167 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.2114, allocations: 45 kB / 0.7167 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.2114, allocations: 52 kB / 0.7168 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.2122, allocations: 410.4 kB / 0.7172 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2122, allocations: 4 kB / 0.7172 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.2122, allocations: 20 kB / 0.7172 GB, free: 368 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.2122, allocations: 12 kB / 0.7172 GB, free: 356 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.2128, allocations: 299.8 kB / 0.7175 GB, free: 56 kB / 0.545 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.002668/0.2155, allocations: 1.861 MB / 0.7193 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.2158, allocations: 162.5 kB / 0.7195 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.216, allocations: 80.92 kB / 0.7196 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.2163, allocations: 352.4 kB / 0.7199 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2163, allocations: 34.56 kB / 0.7199 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.2163, allocations: 4 kB / 0.7199 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.000696/0.217, allocations: 306.5 kB / 0.7202 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2171, allocations: 59.34 kB / 0.7203 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007616/0.2179, allocations: 0.6843 MB / 0.7209 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.2179, allocations: 33.7 kB / 0.721 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.2182, allocations: 356.7 kB / 0.7213 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.2182, allocations: 74.98 kB / 0.7214 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.2184, allocations: 93.95 kB / 0.7215 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2185, allocations: 378.7 kB / 0.7218 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.2187, allocations: 118.2 kB / 0.722 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.2191, allocations: 183.5 kB / 0.7221 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.2195, allocations: 236.6 kB / 0.7224 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2195, allocations: 0 / 0.7224 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006858/0.2202, allocations: 394.2 kB / 0.7227 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2202, allocations: 8 kB / 0.7227 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2202, allocations: 4 kB / 0.7227 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2202, allocations: 0 / 0.7227 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/0.2212, allocations: 159.9 kB / 0.7229 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.2225, allocations: 2.363 MB / 0.7252 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.223, allocations: 55.97 kB / 0.7253 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.223, allocations: 19.98 kB / 0.7253 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003749/0.2234, allocations: 247.8 kB / 0.7255 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002684/0.2237, allocations: 179.5 kB / 0.7257 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003958/0.2241, allocations: 224.9 kB / 0.7259 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.2241, allocations: 0 / 0.7259 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0006463/0.2247, allocations: 376.5 kB / 0.7263 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2247, allocations: 15.97 kB / 0.7263 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.2248, allocations: 0 / 0.7263 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.042e-06/0.2248, allocations: 4 kB / 0.7263 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004035/0.2252, allocations: 99.81 kB / 0.7264 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2252, allocations: 7.938 kB / 0.7264 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004246/0.2256, allocations: 47.73 kB / 0.7264 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.2257, allocations: 16 kB / 0.7264 GB, free: 6.422 MB / 0.5606 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.2258, allocations: 196.2 kB / 0.7266 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2259, allocations: 71.09 kB / 0.7267 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006399/0.2265, allocations: 313.9 kB / 0.727 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2266, allocations: 0 / 0.727 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2266, allocations: 4 kB / 0.727 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.2266, allocations: 3.984 kB / 0.727 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.2278, allocations: 0.894 MB / 0.7279 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2278, allocations: 0 / 0.7279 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.2282, allocations: 76.08 kB / 0.7279 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.2282, allocations: 0 / 0.7279 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2282, allocations: 11.88 kB / 0.728 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.2293, allocations: 2.356 MB / 0.7303 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2293, allocations: 0 / 0.7303 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.2299, allocations: 397.4 kB / 0.7306 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.2301, allocations: 168.1 kB / 0.7308 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/0.2302, allocations: 8 kB / 0.7308 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.2305, allocations: 15.98 kB / 0.7308 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.2305, allocations: 23.91 kB / 0.7308 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2306, allocations: 8 kB / 0.7309 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000519/0.2311, allocations: 475 kB / 0.7313 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2311, allocations: 0 / 0.7313 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008071/0.2319, allocations: 351.1 kB / 0.7316 GB, free: 0.8789 MB / 0.5606 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004938/0.2324, allocations: 252.9 kB / 0.7319 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.2339, allocations: 499.7 kB / 0.7324 GB, free: 152 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2339, allocations: 0 / 0.7324 GB, free: 152 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.2343, allocations: 139.9 kB / 0.7325 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.2356, allocations: 325 kB / 0.7328 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.2374, allocations: 1.138 MB / 0.7339 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.2379, allocations: 0.9294 MB / 0.7348 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2381, allocations: 51.42 kB / 0.7349 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.2381, allocations: 4 kB / 0.7349 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.3083/0.5463, allocations: 22.07 MB / 0.7564 GB, free: 79.58 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)