Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.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.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Annex60.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001653/0.001654, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.4 MB / 222.1 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.446/0.446, allocations: 55.01 MB / 325.4 MB, free: 0.707 MB / 254.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.0005516/0.0005516, allocations: 12 kB / 396.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3953, allocations: 60.71 MB / 457.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7769/1.172, allocations: 296.1 MB / 0.7358 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0322/1.205, allocations: 21.3 MB / 0.7566 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004356/1.209, allocations: 75.38 kB / 0.7567 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00408/1.213, allocations: 0.9882 MB / 0.7577 GB, free: 1.988 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01133/1.224, allocations: 3.1 MB / 0.7607 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005824/1.23, allocations: 1.702 MB / 0.7623 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01047/1.241, allocations: 6.89 MB / 0.7691 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/1.244, allocations: 1.546 MB / 0.7706 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00751/1.252, allocations: 2.491 MB / 0.773 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/1.256, allocations: 1.748 MB / 0.7747 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005302/1.257, allocations: 96 kB / 0.7748 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006849/1.264, allocations: 2.146 MB / 0.7769 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001616/1.265, allocations: 0.777 MB / 0.7777 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001643/1.267, allocations: 0.5257 MB / 0.7782 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006612/1.273, allocations: 3.344 MB / 0.7815 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.274, allocations: 4 kB / 0.7815 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/1.274, allocations: 0 / 0.7815 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.728e-05/1.274, allocations: 0 / 0.7815 GB, free: 4.293 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: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.00521/1.279, allocations: 2.574 MB / 0.784 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.279, allocations: 12.03 kB / 0.784 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/1.284, allocations: 0.8543 MB / 0.7848 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003549/1.287, allocations: 1.737 MB / 0.7865 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/1.288, allocations: 187.2 kB / 0.7867 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/1.288, allocations: 146.9 kB / 0.7868 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004459/1.293, allocations: 1.944 MB / 0.7887 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.293, allocations: 0 / 0.7887 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/1.293, allocations: 60.25 kB / 0.7888 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.732e-05/1.293, allocations: 49.95 kB / 0.7888 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004362/1.297, allocations: 1.716 MB / 0.7905 GB, free: 12.71 MB / 0.5294 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.01257/1.31, allocations: 7.966 MB / 0.7983 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/1.313, allocations: 1.333 MB / 0.7996 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/1.314, allocations: 0.5369 MB / 0.8001 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.957e-05/1.314, allocations: 20.39 kB / 0.8001 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/1.314, allocations: 51.16 kB / 0.8002 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001311/1.316, allocations: 202.9 kB / 0.8004 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=74): time 4.107e-06/1.316, allocations: 0 / 0.8004 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=74): time 0.005518/1.321, allocations: 1.819 MB / 0.8022 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.321, allocations: 60.06 kB / 0.8022 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/1.324, allocations: 1.864 MB / 0.804 GB, free: 14.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/1.324, allocations: 45.7 kB / 0.8041 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009538/1.325, allocations: 0.993 MB / 0.805 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.326, allocations: 258.5 kB / 0.8053 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/1.326, allocations: 20 kB / 0.8053 GB, free: 13.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.326, allocations: 349.9 kB / 0.8056 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/1.327, allocations: 0.5413 MB / 0.8062 GB, free: 12.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/1.329, allocations: 0.965 MB / 0.8071 GB, free: 11.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/1.331, allocations: 0.6353 MB / 0.8077 GB, free: 10.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.331, allocations: 4 kB / 0.8077 GB, free: 10.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00403/1.335, allocations: 1.646 MB / 0.8093 GB, free: 9.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003416/1.335, allocations: 395.9 kB / 0.8097 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.335, allocations: 8 kB / 0.8097 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/1.335, allocations: 24 kB / 0.8098 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/1.338, allocations: 0.5305 MB / 0.8103 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/1.34, allocations: 1.643 MB / 0.8119 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.343, allocations: 195.7 kB / 0.8121 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/1.343, allocations: 61.92 kB / 0.8121 GB, free: 6.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.343, allocations: 8 kB / 0.8121 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00263/1.345, allocations: 1.199 MB / 0.8133 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.345, allocations: 12 kB / 0.8133 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.345, allocations: 16 kB / 0.8133 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.347, allocations: 271.8 kB / 0.8136 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/1.347, allocations: 19.92 kB / 0.8136 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/1.348, allocations: 152.5 kB / 0.8137 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/1.349, allocations: 50.34 kB / 0.8138 GB, free: 4.348 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (129): * Single equations (assignments): 126 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00139/1.35, allocations: 0.5904 MB / 0.8144 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/1.35, allocations: 197.5 kB / 0.8146 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/1.354, allocations: 1.296 MB / 0.8158 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.354, allocations: 8 kB / 0.8158 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.354, allocations: 0 / 0.8158 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002607/1.356, allocations: 1.128 MB / 0.8169 GB, free: 1.086 MB / 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 postOpt removeSimpleEquations (simulation): time 0.006997/1.363, allocations: 3.086 MB / 0.82 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.363, allocations: 0 / 0.82 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/1.366, allocations: 459.5 kB / 0.8204 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/1.366, allocations: 0 / 0.8204 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/1.366, allocations: 27.98 kB / 0.8204 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/1.368, allocations: 1.586 MB / 0.822 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.368, allocations: 0 / 0.822 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004915/1.373, allocations: 1.959 MB / 0.8239 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.374, allocations: 374.5 kB / 0.8242 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/1.374, allocations: 19.98 kB / 0.8243 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/1.376, allocations: 191.7 kB / 0.8244 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.376, allocations: 48.52 kB / 0.8245 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.376, allocations: 35.97 kB / 0.8245 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002681/1.379, allocations: 1.26 MB / 0.8257 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/1.379, allocations: 0 / 0.8257 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005017/1.384, allocations: 0.9938 MB / 0.8267 GB, free: 6.805 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/1.385, allocations: 336.2 kB / 0.827 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006163/1.391, allocations: 2.097 MB / 0.8291 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.391, allocations: 0 / 0.8291 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003473/1.395, allocations: 0.9379 MB / 0.83 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006068/1.401, allocations: 1.06 MB / 0.831 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/1.409, allocations: 4.326 MB / 0.8353 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/1.411, allocations: 1.567 MB / 0.8368 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0028/1.414, allocations: 499.6 kB / 0.8373 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/1.414, allocations: 155.4 kB / 0.8374 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/1.414, allocations: 0 / 0.8374 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of Templates: time 0.3575/1.772, allocations: 38.61 MB / 0.8751 GB, free: 231 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) Environment - environmentSimulation: