Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.357/2.357, allocations: 391.2 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 189.5 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 222.9 MB / 0.7948 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 108.1 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 52.75 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2984, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.04761/0.3461, allocations: 66.17 MB / 1.283 GB, free: 50.87 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02184/0.368, allocations: 16.83 MB / 1.299 GB, free: 33.99 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0037/0.3717, allocations: 59.62 kB / 1.299 GB, free: 33.93 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002754/0.3746, allocations: 0.6566 MB / 1.3 GB, free: 33.27 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007764/0.3824, allocations: 2.357 MB / 1.302 GB, free: 30.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005111/0.3875, allocations: 1.61 MB / 1.304 GB, free: 29.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.05116/0.4387, allocations: 45.77 MB / 1.348 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0217/0.4604, allocations: 12.42 MB / 1.361 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02185/0.4823, allocations: 8.787 MB / 1.369 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01829/0.5007, allocations: 9.174 MB / 1.378 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.003944/0.5046, allocations: 0.5703 MB / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.5162, allocations: 2.129 MB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.005819/0.522, allocations: 2.283 MB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0153/0.5374, allocations: 6.208 MB / 1.389 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.03309/0.5705, allocations: 21.09 MB / 1.41 GB, free: 448 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5705, allocations: 0 / 1.41 GB, free: 448 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5706, allocations: 0 / 1.41 GB, free: 448 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007938/0.5714, allocations: 0 / 1.41 GB, free: 448 kB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.03914/0.6105, allocations: 13.11 MB / 1.422 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.6106, allocations: 15.98 kB / 1.422 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007056/0.6176, allocations: 1.283 MB / 1.424 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.064/1.682, allocations: 13.37 MB / 1.437 GB, free: 178.4 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005446/1.683, allocations: 0.528 MB / 1.437 GB, free: 178.2 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002785/1.685, allocations: 0.714 MB / 1.438 GB, free: 177.9 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/1.712, allocations: 11.2 MB / 1.449 GB, free: 173.4 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/1.712, allocations: 33.92 kB / 1.449 GB, free: 173.4 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/1.714, allocations: 307.2 kB / 1.449 GB, free: 173.2 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002991/1.714, allocations: 221.2 kB / 1.449 GB, free: 173.2 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/1.735, allocations: 9.248 MB / 1.458 GB, free: 168.5 MB / 0.9168 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.07668/1.812, allocations: 51.17 MB / 1.508 GB, free: 117.2 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007306/1.819, allocations: 4.857 MB / 1.513 GB, free: 112.3 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003743/1.823, allocations: 2.828 MB / 1.516 GB, free: 109.5 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/1.824, allocations: 1.719 MB / 1.518 GB, free: 107.4 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.087e-05/1.824, allocations: 86.27 kB / 1.518 GB, free: 107.3 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=420): time 5.781e-06/1.824, allocations: 0 / 1.518 GB, free: 107.3 MB / 0.9168 GB Notification: Performance of matching and sorting (n=420): time 0.01519/1.839, allocations: 7.815 MB / 1.525 GB, free: 99.46 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/1.839, allocations: 98.55 kB / 1.525 GB, free: 99.35 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02141/1.861, allocations: 9.982 MB / 1.535 GB, free: 89.41 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/1.862, allocations: 109.7 kB / 1.535 GB, free: 89.3 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.004836/1.867, allocations: 4.717 MB / 1.54 GB, free: 84.54 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.002704/1.87, allocations: 1.486 MB / 1.541 GB, free: 83.04 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/1.872, allocations: 1.107 MB / 1.542 GB, free: 81.92 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 4.952e-05/1.872, allocations: 301.1 kB / 1.543 GB, free: 81.62 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003579/1.875, allocations: 2.641 MB / 1.545 GB, free: 78.96 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00447/1.88, allocations: 4.165 MB / 1.549 GB, free: 74.14 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008915/1.889, allocations: 7.378 MB / 1.557 GB, free: 66.11 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.654e-05/1.889, allocations: 12 kB / 1.557 GB, free: 66.09 MB / 0.9168 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01542/1.904, allocations: 7.925 MB / 1.564 GB, free: 58.15 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/1.904, allocations: 27.94 kB / 1.564 GB, free: 58.12 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/1.905, allocations: 75.97 kB / 1.564 GB, free: 58.05 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.321e-05/1.905, allocations: 72 kB / 1.564 GB, free: 57.98 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/1.909, allocations: 1.205 MB / 1.566 GB, free: 56.77 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.847e-05/1.909, allocations: 99.66 kB / 1.566 GB, free: 56.67 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01477/1.924, allocations: 1.021 MB / 1.567 GB, free: 55.64 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001779/1.926, allocations: 287.9 kB / 1.567 GB, free: 55.36 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01797/1.944, allocations: 6.4 MB / 1.573 GB, free: 48.95 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00856/1.952, allocations: 4.161 MB / 1.577 GB, free: 44.12 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01385/1.966, allocations: 7.382 MB / 1.585 GB, free: 36.08 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.618e-05/1.966, allocations: 12 kB / 1.585 GB, free: 36.07 MB / 0.9168 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01581/1.982, allocations: 7.913 MB / 1.592 GB, free: 28.14 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.982, allocations: 29.03 kB / 1.592 GB, free: 28.11 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/1.982, allocations: 72.84 kB / 1.592 GB, free: 28.04 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.861e-05/1.982, allocations: 76 kB / 1.592 GB, free: 27.96 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004009/1.986, allocations: 1.205 MB / 1.594 GB, free: 26.76 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.09e-05/1.986, allocations: 112 kB / 1.594 GB, free: 26.65 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009663/1.996, allocations: 0.9019 MB / 1.595 GB, free: 25.75 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/1.998, allocations: 287.9 kB / 1.595 GB, free: 25.46 MB / 0.9168 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001565/1.999, allocations: 0.5077 MB / 1.595 GB, free: 24.95 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003326/2.003, allocations: 0.8452 MB / 1.596 GB, free: 24.09 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/2.018, allocations: 8.93 MB / 1.605 GB, free: 15.21 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.069e-05/2.018, allocations: 79.95 kB / 1.605 GB, free: 15.13 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/2.018, allocations: 0 / 1.605 GB, free: 15.13 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007875/2.026, allocations: 6.112 MB / 1.611 GB, free: 8.938 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04779/2.074, allocations: 20.06 MB / 1.631 GB, free: 4.508 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001487/2.074, allocations: 43.91 kB / 1.631 GB, free: 4.465 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004232/2.078, allocations: 0.9441 MB / 1.632 GB, free: 3.52 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.354e-05/2.078, allocations: 32 kB / 1.632 GB, free: 3.488 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008484/2.079, allocations: 187.9 kB / 1.632 GB, free: 3.305 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.603e-05/2.079, allocations: 39.92 kB / 1.632 GB, free: 3.266 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/2.079, allocations: 19.88 kB / 1.632 GB, free: 3.246 MB / 0.9324 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.pipSeg[1].senMasFlo.port_a.h_outflow, pip.pipSeg[1].del.port_b.h_outflow) = spatialDistribution(0, senTemIn.port_a.h_outflow, pip.pipSeg[1].port_b.h_outflow, pip.pipSeg[1].del.x / pip.pipSeg[1].del.length, pip.v >= 0.0, {0.0, 1.0}, {pip.pipSeg[1].del.h_ini_in, pip.pipSeg[1].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.04076/2.12, allocations: 19.75 MB / 1.651 GB, free: 15.04 MB / 0.9637 GB Error: post-optimization module symbolicJacobian (simulation) failed.