Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.38/1.38, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 188.8 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 90.3 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003686, allocations: 8.719 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.02341/0.2724, allocations: 30.83 MB / 0.9309 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.2829, allocations: 9.098 MB / 0.9398 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.2842, allocations: 27.81 kB / 0.9398 GB, free: 23.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009691/0.2852, allocations: 282.2 kB / 0.9401 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.2888, allocations: 1.119 MB / 0.9412 GB, free: 22.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.2914, allocations: 0.7182 MB / 0.9419 GB, free: 21.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002597/0.2941, allocations: 2.282 MB / 0.9441 GB, free: 19.42 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007229/0.2948, allocations: 490.5 kB / 0.9446 GB, free: 18.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.2962, allocations: 0.7816 MB / 0.9454 GB, free: 18.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006477/0.2969, allocations: 0.5718 MB / 0.9459 GB, free: 17.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.297, allocations: 32 kB / 0.946 GB, free: 17.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.2993, allocations: 1.017 MB / 0.947 GB, free: 16.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2994, allocations: 135.4 kB / 0.9471 GB, free: 16.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.2996, allocations: 177.3 kB / 0.9473 GB, free: 16.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.3008, allocations: 1.107 MB / 0.9483 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3009, allocations: 0 / 0.9483 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3009, allocations: 0 / 0.9483 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3009, allocations: 0 / 0.9483 GB, free: 15.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001939/0.3028, allocations: 1.113 MB / 0.9494 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3029, allocations: 8.031 kB / 0.9494 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.303, allocations: 86.97 kB / 0.9495 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/0.304, allocations: 0.6134 MB / 0.9501 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.304, allocations: 36.98 kB / 0.9501 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.3041, allocations: 48 kB / 0.9502 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.3048, allocations: 434.4 kB / 0.9506 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3049, allocations: 0 / 0.9506 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.3049, allocations: 19.95 kB / 0.9506 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.3049, allocations: 12 kB / 0.9506 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.3056, allocations: 375.8 kB / 0.951 GB, free: 12.27 MB / 0.6042 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.003256/0.3088, allocations: 2.779 MB / 0.9537 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.3096, allocations: 383.6 kB / 0.9541 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.3098, allocations: 169 kB / 0.9542 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009341/0.3108, allocations: 1.425 MB / 0.9556 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.3108, allocations: 46.78 kB / 0.9557 GB, free: 6.859 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 1.824e-06/0.3108, allocations: 3.938 kB / 0.9557 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.0009939/0.3118, allocations: 0.4967 MB / 0.9562 GB, free: 6.352 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.3119, allocations: 55.41 kB / 0.9562 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007984/0.3127, allocations: 0.7312 MB / 0.9569 GB, free: 5.539 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.3127, allocations: 33.7 kB / 0.957 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.3129, allocations: 332.2 kB / 0.9573 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.313, allocations: 126.2 kB / 0.9574 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.313, allocations: 4 kB / 0.9574 GB, free: 5.043 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.3131, allocations: 329.9 kB / 0.9577 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.3134, allocations: 132.7 kB / 0.9578 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.3137, allocations: 205.5 kB / 0.958 GB, free: 4.363 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.314, allocations: 156.1 kB / 0.9582 GB, free: 4.211 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.314, allocations: 4 kB / 0.9582 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007195/0.3147, allocations: 465.9 kB / 0.9586 GB, free: 3.746 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.274e-05/0.3148, allocations: 133.1 kB / 0.9588 GB, free: 3.598 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.3148, allocations: 4 kB / 0.9588 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3148, allocations: 4 kB / 0.9588 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.3153, allocations: 111.8 kB / 0.9589 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003016/0.3157, allocations: 0.5937 MB / 0.9595 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/0.3162, allocations: 67.62 kB / 0.9595 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.3163, allocations: 27.98 kB / 0.9595 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.3163, allocations: 4 kB / 0.9596 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006465/0.3169, allocations: 371.5 kB / 0.9599 GB, free: 2.402 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3169, allocations: 8.141 kB / 0.9599 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-06/0.317, allocations: 4 kB / 0.9599 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.3173, allocations: 95.83 kB / 0.96 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3173, allocations: 7.984 kB / 0.96 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.3177, allocations: 67.41 kB / 0.9601 GB, free: 2.223 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.3177, allocations: 23.94 kB / 0.9601 GB, free: 2.199 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002336/0.318, allocations: 272.9 kB / 0.9604 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.3181, allocations: 75.06 kB / 0.9604 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.3194, allocations: 0.8162 MB / 0.9612 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.3194, allocations: 4 kB / 0.9612 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3194, allocations: 4 kB / 0.9612 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3194, allocations: 3.984 kB / 0.9612 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.3213, allocations: 1.47 MB / 0.9627 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.3213, allocations: 4 kB / 0.9627 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/0.3217, allocations: 83.89 kB / 0.9628 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3217, allocations: 3.938 kB / 0.9628 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.3218, allocations: 19.98 kB / 0.9628 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003161/0.3221, allocations: 0.5977 MB / 0.9634 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3221, allocations: 4.062 kB / 0.9634 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.3236, allocations: 0.9887 MB / 0.9643 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.3239, allocations: 243.8 kB / 0.9646 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/0.324, allocations: 15.95 kB / 0.9646 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.3244, allocations: 43.88 kB / 0.9646 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3245, allocations: 44.31 kB / 0.9647 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.3246, allocations: 20 kB / 0.9647 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007562/0.3254, allocations: 0.5146 MB / 0.9652 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3254, allocations: 0 / 0.9652 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001246/0.3266, allocations: 447.5 kB / 0.9656 GB, free: 12.42 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * 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 (52): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.0009658/0.3276, allocations: 458.4 kB / 0.9661 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.329, allocations: 0.7455 MB / 0.9668 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3291, allocations: 0 / 0.9668 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000539/0.3296, allocations: 358.6 kB / 0.9671 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.3314, allocations: 388.5 kB / 0.9675 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.334, allocations: 1.809 MB / 0.9693 GB, free: 8.617 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.3346, allocations: 0.9392 MB / 0.9702 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.3348, allocations: 79.41 kB / 0.9703 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of SimCode: time 1.253e-06/0.3348, allocations: 0 / 0.9703 GB, free: 7.566 MB / 0.6198 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 0 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 2 .