Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.373/2.373, allocations: 391.2 MB / 407 MB, free: 10.88 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.001385/0.001385, allocations: 189.3 kB / 499.1 MB, free: 4.691 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.571/1.571, allocations: 222.9 MB / 0.7948 GB, free: 15.84 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.001177/0.001177, allocations: 106.3 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001129, allocations: 53.41 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2958, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.06318/0.3591, allocations: 76.38 MB / 1.293 GB, free: 40.61 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02404/0.3832, allocations: 20.11 MB / 1.312 GB, free: 20.45 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003419/0.3866, allocations: 71.56 kB / 1.312 GB, free: 20.38 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003043/0.3897, allocations: 0.8158 MB / 1.313 GB, free: 19.55 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00765/0.3974, allocations: 2.625 MB / 1.316 GB, free: 16.92 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00623/0.4037, allocations: 1.895 MB / 1.318 GB, free: 15.04 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009742/0.4134, allocations: 6.749 MB / 1.324 GB, free: 8.27 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003176/0.4166, allocations: 1.399 MB / 1.326 GB, free: 6.832 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.4213, allocations: 1.832 MB / 1.327 GB, free: 4.992 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.4241, allocations: 1.479 MB / 1.329 GB, free: 3.508 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006471/0.4248, allocations: 96 kB / 1.329 GB, free: 3.414 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005514/0.4303, allocations: 1.809 MB / 1.331 GB, free: 1.602 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008524/0.4312, allocations: 390.2 kB / 1.331 GB, free: 1.219 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002659/0.4338, allocations: 1.01 MB / 1.332 GB, free: 208 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.007477/0.4413, allocations: 3.392 MB / 1.335 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4414, allocations: 0 / 1.335 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4414, allocations: 0 / 1.335 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.56e-05/0.4414, allocations: 0 / 1.335 GB, free: 12.8 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.00514/0.4466, allocations: 2.501 MB / 1.338 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.4466, allocations: 11.98 kB / 1.338 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.4485, allocations: 401 kB / 1.338 GB, free: 9.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.4519, allocations: 1.785 MB / 1.34 GB, free: 7.992 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.917e-05/0.452, allocations: 90.44 kB / 1.34 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.4522, allocations: 131.9 kB / 1.34 GB, free: 7.773 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.4546, allocations: 1.433 MB / 1.342 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.4546, allocations: 7.938 kB / 1.342 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.4547, allocations: 52 kB / 1.342 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.4548, allocations: 36 kB / 1.342 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.457, allocations: 1.066 MB / 1.343 GB, free: 5.066 MB / 0.8386 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.008639/0.4656, allocations: 7.829 MB / 1.35 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.469, allocations: 0.9998 MB / 1.351 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008117/0.4699, allocations: 435.9 kB / 1.352 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/0.4716, allocations: 1.856 MB / 1.353 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.4726, allocations: 498.2 kB / 1.354 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=84): time 3.867e-06/0.4726, allocations: 4 kB / 1.354 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of matching and sorting (n=84): time 0.0034/0.4761, allocations: 1.261 MB / 1.355 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.4761, allocations: 97.69 kB / 1.355 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.4781, allocations: 1.383 MB / 1.357 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.4782, allocations: 41.7 kB / 1.357 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/0.479, allocations: 0.8178 MB / 1.357 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.4793, allocations: 299.8 kB / 1.358 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.4796, allocations: 202.8 kB / 1.358 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4798, allocations: 349.9 kB / 1.358 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007922/0.4806, allocations: 369.9 kB / 1.359 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.4816, allocations: 0.6715 MB / 1.359 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.4834, allocations: 1.056 MB / 1.36 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4834, allocations: 0 / 1.36 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002555/0.486, allocations: 1.237 MB / 1.362 GB, free: 344 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.486, allocations: 8.812 kB / 1.362 GB, free: 336 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.486, allocations: 15.98 kB / 1.362 GB, free: 320 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.504e-05/0.4861, allocations: 24 kB / 1.362 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009145/0.4871, allocations: 247.5 kB / 1.362 GB, free: 48 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.4871, allocations: 23.92 kB / 1.362 GB, free: 24 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4886, allocations: 182.8 kB / 1.362 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.4887, allocations: 51.98 kB / 1.362 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001335/0.4901, allocations: 0.6392 MB / 1.363 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001012/0.4911, allocations: 0.6676 MB / 1.363 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001775/0.4929, allocations: 1.059 MB / 1.364 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/0.4929, allocations: 4 kB / 1.364 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.002607/0.4955, allocations: 1.241 MB / 1.366 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4956, allocations: 8.938 kB / 1.366 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.4956, allocations: 8 kB / 1.366 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4956, allocations: 19.94 kB / 1.366 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/0.4965, allocations: 252.1 kB / 1.366 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.4965, allocations: 23.91 kB / 1.366 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.498, allocations: 159.2 kB / 1.366 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.4981, allocations: 51.98 kB / 1.366 GB, free: 11.39 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00041/0.4985, allocations: 255.1 kB / 1.366 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/0.4988, allocations: 162 kB / 1.366 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.5019, allocations: 1.457 MB / 1.368 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.502, allocations: 23.92 kB / 1.368 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.502, allocations: 0 / 1.368 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001946/0.5039, allocations: 1.086 MB / 1.369 GB, free: 8.391 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.005001/0.5089, allocations: 2.923 MB / 1.372 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.509, allocations: 0 / 1.372 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/0.5097, allocations: 183.8 kB / 1.372 GB, free: 5.211 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.5098, allocations: 4 kB / 1.372 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.5098, allocations: 36.02 kB / 1.372 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.5098, allocations: 4 kB / 1.372 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5099, allocations: 4 kB / 1.372 GB, free: 5.164 MB / 0.8698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pipe.res.port_a.h_outflow, pipe.del.port_b.h_outflow) = spatialDistribution(0, senEntIn.port_a.h_outflow, senEntOut.port_b.h_outflow, pipe.del.x / pipe.del.length, pipe.v >= 0.0, {0.0, 1.0}, {pipe.del.h_ini_in, pipe.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.008653/0.5185, allocations: 3.721 MB / 1.376 GB, free: 1.363 MB / 0.8698 GB Error: post-optimization module symbolicJacobian (simulation) failed.