Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") translateModel(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 196.1 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205 MB / 0.6353 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 104.1 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 43.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3176, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore): time 0.03937/0.357, allocations: 33.29 MB / 1.015 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5516/0.9087, allocations: 9.846 MB / 1.024 GB, free: 63.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.9111, allocations: 27.75 kB / 1.024 GB, free: 63.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.9129, allocations: 323.3 kB / 1.025 GB, free: 63.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.9179, allocations: 1.285 MB / 1.026 GB, free: 63.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.9208, allocations: 0.8264 MB / 1.027 GB, free: 63.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003434/0.9242, allocations: 2.656 MB / 1.029 GB, free: 63.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.925, allocations: 0.52 MB / 1.03 GB, free: 63.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.9267, allocations: 0.8732 MB / 1.031 GB, free: 63.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009373/0.9276, allocations: 0.6232 MB / 1.031 GB, free: 63.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.9278, allocations: 38.53 kB / 1.031 GB, free: 63.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.9305, allocations: 1.252 MB / 1.033 GB, free: 63.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.9306, allocations: 157.3 kB / 1.033 GB, free: 63.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.931, allocations: 413.8 kB / 1.033 GB, free: 62.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.9336, allocations: 1.614 MB / 1.035 GB, free: 62.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9336, allocations: 0 / 1.035 GB, free: 62.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9337, allocations: 0.8125 kB / 1.035 GB, free: 62.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.9337, allocations: 0 / 1.035 GB, free: 62.68 MB / 0.7448 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.002456/0.9361, allocations: 1.226 MB / 1.036 GB, free: 61.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.9362, allocations: 9.812 kB / 1.036 GB, free: 61.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.9364, allocations: 93.2 kB / 1.036 GB, free: 61.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.9376, allocations: 0.6426 MB / 1.037 GB, free: 61.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.9377, allocations: 37.84 kB / 1.037 GB, free: 61.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.9378, allocations: 49.78 kB / 1.037 GB, free: 61.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/0.9387, allocations: 431.2 kB / 1.037 GB, free: 61.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.9388, allocations: 2.25 kB / 1.037 GB, free: 61.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.9388, allocations: 19.91 kB / 1.037 GB, free: 61.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.9389, allocations: 10.69 kB / 1.037 GB, free: 61.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009009/0.9398, allocations: 369.7 kB / 1.037 GB, free: 61.56 MB / 0.7448 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.004271/0.9441, allocations: 2.761 MB / 1.04 GB, free: 60 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009434/0.945, allocations: 384 kB / 1.041 GB, free: 59.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.9454, allocations: 147.7 kB / 1.041 GB, free: 59.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.9465, allocations: 1.426 MB / 1.042 GB, free: 58.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.9465, allocations: 43.22 kB / 1.042 GB, free: 58.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=35): time 3.016e-06/0.9465, allocations: 1.453 kB / 1.042 GB, free: 58.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.001243/0.9477, allocations: 493.5 kB / 1.043 GB, free: 58.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.9478, allocations: 60.14 kB / 1.043 GB, free: 58.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.949, allocations: 0.7381 MB / 1.043 GB, free: 58.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.949, allocations: 33.33 kB / 1.043 GB, free: 58.01 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.9493, allocations: 333.2 kB / 1.044 GB, free: 57.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.9494, allocations: 127.7 kB / 1.044 GB, free: 57.81 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.9495, allocations: 83.47 kB / 1.044 GB, free: 57.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.9496, allocations: 326.9 kB / 1.044 GB, free: 57.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.9499, allocations: 140.2 kB / 1.044 GB, free: 57.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.9503, allocations: 197.2 kB / 1.045 GB, free: 57.42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.951, allocations: 337.2 kB / 1.045 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.951, allocations: 0 / 1.045 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000951/0.9519, allocations: 465.5 kB / 1.045 GB, free: 57.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.952, allocations: 8.156 kB / 1.045 GB, free: 57.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.952, allocations: 4.969 kB / 1.045 GB, free: 57.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.952, allocations: 3.906 kB / 1.045 GB, free: 57.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.9526, allocations: 104.9 kB / 1.045 GB, free: 57.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003207/0.9529, allocations: 0.5989 MB / 1.046 GB, free: 56.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/0.9535, allocations: 62.34 kB / 1.046 GB, free: 56.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.9535, allocations: 22.81 kB / 1.046 GB, free: 56.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000501/0.954, allocations: 273.8 kB / 1.046 GB, free: 56.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003769/0.9544, allocations: 202.8 kB / 1.047 GB, free: 56.53 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006873/0.9551, allocations: 336.2 kB / 1.047 GB, free: 56.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.9551, allocations: 1 kB / 1.047 GB, free: 56.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization_lambda0): time 0.001003/0.9562, allocations: 462.4 kB / 1.047 GB, free: 56.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.9562, allocations: 10.62 kB / 1.047 GB, free: 56.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.9562, allocations: 4.641 kB / 1.047 GB, free: 56.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-06/0.9562, allocations: 3.406 kB / 1.047 GB, free: 56.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.9566, allocations: 92.81 kB / 1.047 GB, free: 56.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.9566, allocations: 3.047 kB / 1.047 GB, free: 56.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.9571, allocations: 58.28 kB / 1.047 GB, free: 56.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.9572, allocations: 20.58 kB / 1.048 GB, free: 56.36 MB / 0.7448 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.9573, allocations: 207.3 kB / 1.048 GB, free: 56.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.9575, allocations: 76.77 kB / 1.048 GB, free: 56.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.9592, allocations: 0.8133 MB / 1.049 GB, free: 56.05 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/0.9592, allocations: 8.297 kB / 1.049 GB, free: 56.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.9592, allocations: 5.844 kB / 1.049 GB, free: 56.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.9593, allocations: 2.766 kB / 1.049 GB, free: 56.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.9619, allocations: 1.45 MB / 1.05 GB, free: 55.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.9619, allocations: 8.859 kB / 1.05 GB, free: 55.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.9623, allocations: 78.92 kB / 1.05 GB, free: 55.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.9623, allocations: 6.281 kB / 1.05 GB, free: 55.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.9624, allocations: 16.7 kB / 1.05 GB, free: 55.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002195/0.9626, allocations: 0.5915 MB / 1.051 GB, free: 55.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9626, allocations: 1.312 kB / 1.051 GB, free: 55.11 MB / 0.7448 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.senMasFlo.port_a.h_outflow, pip.del.port_b.h_outflow) = spatialDistribution(0, sou.ports[1].h_outflow, sin.ports[1].h_outflow, pip.del.x / pip.del.length, pip.del.v >= 0.0, {0.0, 1.0}, {pip.del.h_ini_in, pip.del.h_ini_out})" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005264/0.9679, allocations: 2.215 MB / 1.053 GB, free: 54.73 MB / 0.7448 GB Error: post-optimization module symbolicJacobian (simulation) failed.