Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization") translateModel(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008344/0.008344, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001726/0.001726, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3895/0.3895, allocations: 54.96 MB / 324.9 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 72.7 kB / 456.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08892, allocations: 59.59 MB / 0.5037 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization): time 0.02139/0.1103, allocations: 25.29 MB / 0.5284 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.1242, allocations: 9.906 MB / 0.5381 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.1257, allocations: 27.81 kB / 0.5381 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.1269, allocations: 365.6 kB / 0.5385 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.1292, allocations: 0.8223 MB / 0.5393 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.1316, allocations: 0.7746 MB / 0.54 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002184/0.1338, allocations: 1.691 MB / 0.5417 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008109/0.1346, allocations: 0.5826 MB / 0.5422 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.1361, allocations: 0.8365 MB / 0.5431 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007428/0.1369, allocations: 0.5446 MB / 0.5436 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.298e-05/0.137, allocations: 52 kB / 0.5436 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009796/0.138, allocations: 0.4992 MB / 0.5441 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1381, allocations: 155.4 kB / 0.5443 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.1385, allocations: 382.1 kB / 0.5446 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.1395, allocations: 0.9734 MB / 0.5456 GB, free: 15.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1395, allocations: 0 / 0.5456 GB, free: 15.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1396, allocations: 4 kB / 0.5456 GB, free: 15.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1396, allocations: 0 / 0.5456 GB, free: 15.98 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001429/0.141, allocations: 1.043 MB / 0.5466 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1411, allocations: 8.031 kB / 0.5466 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.1413, allocations: 91.98 kB / 0.5467 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.142, allocations: 0.5067 MB / 0.5472 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.1421, allocations: 100.4 kB / 0.5473 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.1422, allocations: 52 kB / 0.5473 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.1436, allocations: 0.6276 MB / 0.548 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1437, allocations: 0 / 0.548 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.1437, allocations: 20 kB / 0.548 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.1437, allocations: 23.94 kB / 0.548 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.1449, allocations: 394.2 kB / 0.5484 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.1479, allocations: 2.824 MB / 0.5511 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008417/0.1488, allocations: 239.5 kB / 0.5514 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1489, allocations: 78.53 kB / 0.5514 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.149, allocations: 0 / 0.5514 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.149, allocations: 38.56 kB / 0.5515 GB, free: 9.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.149, allocations: 0 / 0.5515 GB, free: 9.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.001814/0.1508, allocations: 444.8 kB / 0.5519 GB, free: 9.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.1509, allocations: 162.2 kB / 0.5521 GB, free: 8.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006034/0.1515, allocations: 0.594 MB / 0.5526 GB, free: 8.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.1516, allocations: 33.7 kB / 0.5527 GB, free: 8.273 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.1518, allocations: 351.7 kB / 0.553 GB, free: 7.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.1519, allocations: 47.3 kB / 0.553 GB, free: 7.879 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.152, allocations: 85.97 kB / 0.5531 GB, free: 7.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1521, allocations: 370.7 kB / 0.5535 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.1525, allocations: 138.3 kB / 0.5536 GB, free: 7.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.1529, allocations: 270.1 kB / 0.5539 GB, free: 6.961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.1536, allocations: 345.1 kB / 0.5542 GB, free: 6.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1537, allocations: 4 kB / 0.5542 GB, free: 6.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009155/0.1546, allocations: 448.6 kB / 0.5546 GB, free: 6.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1546, allocations: 15.92 kB / 0.5547 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1546, allocations: 4 kB / 0.5547 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1546, allocations: 4.062 kB / 0.5547 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/0.1584, allocations: 0.562 MB / 0.5552 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00691/0.1653, allocations: 4.954 MB / 0.56 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.1659, allocations: 71.42 kB / 0.5601 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1659, allocations: 23.94 kB / 0.5601 GB, free: 84 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003749/0.1663, allocations: 231.9 kB / 0.5604 GB, free: 15.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003015/0.1666, allocations: 225.2 kB / 0.5606 GB, free: 15.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004307/0.167, allocations: 293 kB / 0.5609 GB, free: 15.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.167, allocations: 3.938 kB / 0.5609 GB, free: 15.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00067/0.1677, allocations: 388.3 kB / 0.5612 GB, free: 14.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.1677, allocations: 4 kB / 0.5612 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1678, allocations: 4 kB / 0.5612 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.1678, allocations: 4 kB / 0.5612 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.1681, allocations: 100.3 kB / 0.5613 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1682, allocations: 11.94 kB / 0.5613 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.1685, allocations: 35.77 kB / 0.5614 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.1686, allocations: 19.98 kB / 0.5614 GB, free: 14.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.1688, allocations: 196.2 kB / 0.5616 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.1689, allocations: 67.17 kB / 0.5616 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.151e-05/0.169, allocations: 53.17 kB / 0.5617 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.169, allocations: 8 kB / 0.5617 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.169, allocations: 0 / 0.5617 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.169, allocations: 0 / 0.5617 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.1699, allocations: 0.6982 MB / 0.5624 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1699, allocations: 0 / 0.5624 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003013/0.1729, allocations: 491.3 kB / 0.5629 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1729, allocations: 4 kB / 0.5629 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.173, allocations: 0 / 0.5629 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/0.1791, allocations: 4.842 MB / 0.5676 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1791, allocations: 4.031 kB / 0.5676 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/0.18, allocations: 382.8 kB / 0.568 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.1801, allocations: 136.2 kB / 0.5681 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/0.1802, allocations: 8 kB / 0.5681 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.1807, allocations: 43.94 kB / 0.5681 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.1808, allocations: 11.98 kB / 0.5681 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.1808, allocations: 11.98 kB / 0.5682 GB, free: 7.215 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005199/0.1813, allocations: 415.1 kB / 0.5686 GB, free: 6.812 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1813, allocations: 0 / 0.5686 GB, free: 6.812 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001072/0.1824, allocations: 315.3 kB / 0.5689 GB, free: 6.504 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004753/0.1829, allocations: 160.6 kB / 0.569 GB, free: 6.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004625/0.1875, allocations: 0.9445 MB / 0.5699 GB, free: 5.398 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1876, allocations: 0 / 0.5699 GB, free: 5.398 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00638/0.194, allocations: 0.9963 MB / 0.5709 GB, free: 4.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.1955, allocations: 292.5 kB / 0.5712 GB, free: 4.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.1988, allocations: 1.227 MB / 0.5724 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.1992, allocations: 0.886 MB / 0.5732 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.1997, allocations: 104.8 kB / 0.5733 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/0.1997, allocations: 39.44 kB / 0.5734 GB, free: 1.805 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1998, allocations: 0 / 0.5734 GB, free: 1.805 MB / 446.1 MB Notification: Performance of Templates: time 0.01751/0.2173, allocations: 10.98 MB / 0.5841 GB, free: 6.922 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Valves.Examples.ValveParameterization.pipe 2>&1)