Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008601/0.0008602, allocations: 99.44 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 176 kB / 16.58 MB, free: 6.422 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.481/1.481, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.679/2.679, allocations: 390.5 MB / 0.6662 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.023, allocations: 142.3 MB / 0.9544 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.03396/1.057, allocations: 30.85 MB / 0.9845 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01484/1.072, allocations: 9.191 MB / 0.9935 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/1.074, allocations: 19.88 kB / 0.9935 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/1.076, allocations: 282.1 kB / 0.9938 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004551/1.08, allocations: 1.127 MB / 0.9949 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002898/1.083, allocations: 0.7213 MB / 0.9956 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003799/1.087, allocations: 2.294 MB / 0.9978 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009875/1.088, allocations: 490.4 kB / 0.9983 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/1.09, allocations: 0.7855 MB / 0.9991 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009643/1.091, allocations: 0.5757 MB / 0.9996 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.027e-05/1.091, allocations: 36 kB / 0.9997 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/1.094, allocations: 1.021 MB / 1.001 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/1.094, allocations: 127.4 kB / 1.001 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002997/1.094, allocations: 189.3 kB / 1.001 GB, free: 308 kB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/1.096, allocations: 1.122 MB / 1.002 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.096, allocations: 0 / 1.002 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.136e-06/1.096, allocations: 0 / 1.002 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.969e-06/1.096, allocations: 0 / 1.002 GB, free: 15.17 MB / 0.7637 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.002077/1.098, allocations: 1.105 MB / 1.003 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.098, allocations: 12.03 kB / 1.003 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/1.098, allocations: 86.97 kB / 1.003 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.1, allocations: 0.6212 MB / 1.004 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/1.1, allocations: 37 kB / 1.004 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.513e-05/1.1, allocations: 48 kB / 1.004 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/1.101, allocations: 438.3 kB / 1.004 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.101, allocations: 0 / 1.004 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/1.101, allocations: 20 kB / 1.004 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/1.101, allocations: 11.98 kB / 1.004 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/1.101, allocations: 379.7 kB / 1.005 GB, free: 12.34 MB / 0.7637 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.004249/1.106, allocations: 2.795 MB / 1.007 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/1.107, allocations: 379.6 kB / 1.008 GB, free: 8.883 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/1.107, allocations: 153.7 kB / 1.008 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/1.109, allocations: 1.436 MB / 1.009 GB, free: 6.98 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.926e-05/1.109, allocations: 38.84 kB / 1.009 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/1.109, allocations: 0 / 1.009 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of matching and sorting (n=35): time 0.001235/1.11, allocations: 0.5096 MB / 1.01 GB, free: 6.418 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/1.11, allocations: 55.41 kB / 1.01 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/1.111, allocations: 0.7429 MB / 1.011 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/1.111, allocations: 29.7 kB / 1.011 GB, free: 5.562 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/1.112, allocations: 332.2 kB / 1.011 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/1.112, allocations: 126.2 kB / 1.011 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/1.112, allocations: 11.94 kB / 1.011 GB, free: 5.098 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.112, allocations: 325.9 kB / 1.011 GB, free: 4.773 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/1.112, allocations: 132.7 kB / 1.012 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/1.113, allocations: 205.4 kB / 1.012 GB, free: 4.422 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/1.113, allocations: 156.1 kB / 1.012 GB, free: 4.27 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.113, allocations: 3.938 kB / 1.012 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009072/1.114, allocations: 474 kB / 1.012 GB, free: 3.797 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.444e-05/1.114, allocations: 126 kB / 1.013 GB, free: 3.652 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/1.114, allocations: 4.047 kB / 1.013 GB, free: 3.648 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.114, allocations: 3.984 kB / 1.013 GB, free: 3.645 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/1.114, allocations: 107.9 kB / 1.013 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004988/1.115, allocations: 0.5976 MB / 1.013 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/1.116, allocations: 71.53 kB / 1.013 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/1.116, allocations: 23.98 kB / 1.013 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.116, allocations: 5.562 kB / 1.013 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007657/1.116, allocations: 383.3 kB / 1.014 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.116, allocations: 4 kB / 1.014 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/1.116, allocations: 0 / 1.014 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/1.117, allocations: 100 kB / 1.014 GB, free: 2.344 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.117, allocations: 7.984 kB / 1.014 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/1.117, allocations: 63.5 kB / 1.014 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/1.117, allocations: 19.98 kB / 1.014 GB, free: 2.254 MB / 0.7637 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.0003517/1.118, allocations: 276.9 kB / 1.014 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/1.118, allocations: 75.06 kB / 1.014 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/1.119, allocations: 0.8208 MB / 1.015 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/1.119, allocations: 15.98 kB / 1.015 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.119, allocations: 0 / 1.015 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.119, allocations: 3.984 kB / 1.015 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/1.122, allocations: 1.466 MB / 1.016 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.122, allocations: 4 kB / 1.016 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/1.122, allocations: 87.98 kB / 1.017 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/1.122, allocations: 4 kB / 1.017 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/1.122, allocations: 19.92 kB / 1.017 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003884/1.122, allocations: 0.586 MB / 1.017 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.122, allocations: 4.031 kB / 1.017 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/1.124, allocations: 1 MB / 1.018 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/1.124, allocations: 251.8 kB / 1.018 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.125, allocations: 12 kB / 1.018 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/1.125, allocations: 31.97 kB / 1.018 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.125, allocations: 44.38 kB / 1.018 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/1.125, allocations: 27.92 kB / 1.018 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007833/1.126, allocations: 0.5146 MB / 1.019 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.126, allocations: 0 / 1.019 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001346/1.127, allocations: 455.5 kB / 1.019 GB, free: 12.46 MB / 0.7794 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.001134/1.128, allocations: 468.8 kB / 1.02 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001588/1.13, allocations: 0.7415 MB / 1.021 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.13, allocations: 0 / 1.021 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006187/1.131, allocations: 349.8 kB / 1.021 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/1.133, allocations: 388.9 kB / 1.021 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/1.135, allocations: 1.818 MB / 1.023 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/1.136, allocations: 0.9353 MB / 1.024 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/1.136, allocations: 83.41 kB / 1.024 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of SimCode: time 1.403e-06/1.136, allocations: 0 / 1.024 GB, free: 7.609 MB / 0.7794 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 .