Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.312/2.312, allocations: 391.2 MB / 407 MB, free: 10.91 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.001229/0.001229, allocations: 199.4 kB / 499.1 MB, free: 4.672 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.494/1.494, allocations: 222.9 MB / 0.7948 GB, free: 15.77 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.00121/0.00121, allocations: 106.6 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 53.89 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2947, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.07985/0.3747, allocations: 114.4 MB / 1.33 GB, free: 2.426 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.03731/0.412, allocations: 26.7 MB / 1.356 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00674/0.4188, allocations: 107.3 kB / 1.356 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.4236, allocations: 0.9206 MB / 1.357 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.4346, allocations: 3.169 MB / 1.36 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006662/0.4413, allocations: 2.081 MB / 1.362 GB, free: 1.371 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.4521, allocations: 8.176 MB / 1.37 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002438/0.4546, allocations: 1.595 MB / 1.372 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004998/0.4596, allocations: 2.326 MB / 1.374 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/0.462, allocations: 1.769 MB / 1.376 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.4623, allocations: 112 kB / 1.376 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004764/0.4671, allocations: 2.14 MB / 1.378 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.4676, allocations: 449.9 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.4691, allocations: 1.178 MB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.005965/0.4751, allocations: 3.996 MB / 1.383 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4751, allocations: 4 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4751, allocations: 0 / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.736e-05/0.4751, allocations: 0 / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00595/0.4811, allocations: 2.826 MB / 1.386 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4811, allocations: 15.98 kB / 1.386 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006421/0.4818, allocations: 261.1 kB / 1.386 GB, free: 8.371 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/0.4855, allocations: 2.099 MB / 1.388 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.4856, allocations: 98.67 kB / 1.388 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.4858, allocations: 147.9 kB / 1.389 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.4879, allocations: 1.451 MB / 1.39 GB, free: 4.449 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.488, allocations: 4 kB / 1.39 GB, free: 4.445 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.4881, allocations: 56 kB / 1.39 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/0.4882, allocations: 36 kB / 1.39 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.4899, allocations: 1.033 MB / 1.391 GB, free: 3.316 MB / 0.8855 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.008109/0.498, allocations: 8.124 MB / 1.399 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.4994, allocations: 0.8338 MB / 1.4 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.5, allocations: 382.6 kB / 1.4 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/0.502, allocations: 2.807 MB / 1.403 GB, free: 5.828 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.502, allocations: 39.22 kB / 1.403 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=85): time 3.096e-06/0.502, allocations: 0 / 1.403 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=85): time 0.002207/0.5043, allocations: 1.128 MB / 1.404 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.5043, allocations: 67.98 kB / 1.404 GB, free: 4.57 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.5063, allocations: 1.606 MB / 1.406 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.5064, allocations: 45.64 kB / 1.406 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/0.5071, allocations: 0.9315 MB / 1.407 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.5073, allocations: 299.6 kB / 1.407 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.5076, allocations: 238.6 kB / 1.407 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5078, allocations: 353.9 kB / 1.408 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/0.5084, allocations: 325.9 kB / 1.408 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008269/0.5092, allocations: 0.7033 MB / 1.409 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.5107, allocations: 1.085 MB / 1.41 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.5107, allocations: 4 kB / 1.41 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002305/0.513, allocations: 1.249 MB / 1.411 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.5131, allocations: 12 kB / 1.411 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-05/0.5131, allocations: 16.75 kB / 1.411 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/0.5132, allocations: 20 kB / 1.411 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/0.5139, allocations: 255.6 kB / 1.411 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/0.514, allocations: 27.86 kB / 1.411 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.5153, allocations: 182.7 kB / 1.411 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.5154, allocations: 71.97 kB / 1.411 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001137/0.5165, allocations: 0.6197 MB / 1.412 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000867/0.5174, allocations: 0.7071 MB / 1.413 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001423/0.5189, allocations: 1.085 MB / 1.414 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.5189, allocations: 0 / 1.414 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002111/0.521, allocations: 1.242 MB / 1.415 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.521, allocations: 12.16 kB / 1.415 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/0.5211, allocations: 27.98 kB / 1.415 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5211, allocations: 16 kB / 1.415 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007361/0.5218, allocations: 255.6 kB / 1.415 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.5218, allocations: 23.94 kB / 1.415 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.523, allocations: 151 kB / 1.415 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-05/0.5231, allocations: 63.98 kB / 1.415 GB, free: 8.223 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002998/0.5234, allocations: 253.3 kB / 1.416 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.5237, allocations: 189.7 kB / 1.416 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.5267, allocations: 1.755 MB / 1.418 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/0.5267, allocations: 15.98 kB / 1.418 GB, free: 6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5267, allocations: 3.938 kB / 1.418 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001618/0.5283, allocations: 1.142 MB / 1.419 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.5344, allocations: 3.478 MB / 1.422 GB, free: 1.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/0.5345, allocations: 11.98 kB / 1.422 GB, free: 1.168 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007071/0.5352, allocations: 204.5 kB / 1.422 GB, free: 0.9688 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.957e-05/0.5352, allocations: 15.94 kB / 1.422 GB, free: 0.9531 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/0.5353, allocations: 43.97 kB / 1.422 GB, free: 0.9102 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/0.5353, allocations: 11.94 kB / 1.422 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/0.5353, allocations: 11.94 kB / 1.422 GB, free: 0.8867 MB / 0.9167 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.res.port_a.h_outflow, pip.del.port_b.h_outflow) = spatialDistribution(0, senTemIn.port_a.h_outflow, senTemOut.port_b.h_outflow, pip.del.x / pip.del.length, pip.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.6171/1.152, allocations: 3.56 MB / 1.426 GB, free: 197 MB / 0.9167 GB Error: post-optimization module symbolicJacobian (simulation) failed.