Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7747/0.7747, allocations: 143.4 MB / 159.2 MB, free: 4.855 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 188.5 kB / 191.9 MB, free: 5.695 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 107.2 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001882, allocations: 276.8 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 83.88 kB / 0.6885 GB, free: 3.824 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3731, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.06019/0.4333, allocations: 76.32 MB / 0.8425 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02876/0.4621, allocations: 20.07 MB / 0.8621 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.4653, allocations: 71.56 kB / 0.8621 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002539/0.4679, allocations: 0.8003 MB / 0.8629 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.007316/0.4752, allocations: 2.629 MB / 0.8655 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005424/0.4807, allocations: 1.89 MB / 0.8673 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.008486/0.4892, allocations: 6.739 MB / 0.8739 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002937/0.4921, allocations: 1.391 MB / 0.8753 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.4967, allocations: 1.828 MB / 0.8771 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/0.4998, allocations: 1.482 MB / 0.8785 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006392/0.5004, allocations: 92 kB / 0.8786 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.5054, allocations: 1.801 MB / 0.8803 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0007515/0.5062, allocations: 394.1 kB / 0.8807 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.5083, allocations: 0.9986 MB / 0.8817 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006293/0.5146, allocations: 3.392 MB / 0.885 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5146, allocations: 0 / 0.885 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5146, allocations: 4 kB / 0.885 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.99e-05/0.5147, allocations: 0 / 0.885 GB, free: 3.359 MB / 0.5417 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.005523/0.5203, allocations: 2.505 MB / 0.8875 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.5203, allocations: 8.031 kB / 0.8875 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.5223, allocations: 401.2 kB / 0.8878 GB, free: 400 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.5262, allocations: 1.761 MB / 0.8896 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.5263, allocations: 98.44 kB / 0.8897 GB, free: 14.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.5265, allocations: 120 kB / 0.8898 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.5293, allocations: 1.429 MB / 0.8912 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.5293, allocations: 3.906 kB / 0.8912 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.5295, allocations: 59.94 kB / 0.8912 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.5295, allocations: 32 kB / 0.8913 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002398/0.5319, allocations: 1.082 MB / 0.8923 GB, free: 11.64 MB / 0.5573 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.009053/0.541, allocations: 7.836 MB / 0.9 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/0.5445, allocations: 0.9914 MB / 0.9009 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008568/0.5454, allocations: 440.3 kB / 0.9014 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3184/0.8638, allocations: 1.851 MB / 0.9032 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.8653, allocations: 0.4941 MB / 0.9037 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=84): time 3.297e-06/0.8653, allocations: 0 / 0.9037 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=84): time 0.003276/0.8686, allocations: 1.265 MB / 0.9049 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.8686, allocations: 87.3 kB / 0.905 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.8708, allocations: 1.374 MB / 0.9063 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.8708, allocations: 44.36 kB / 0.9064 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006654/0.8715, allocations: 0.8176 MB / 0.9072 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.8718, allocations: 299 kB / 0.9074 GB, free: 127 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003419/0.8721, allocations: 202.1 kB / 0.9076 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.8722, allocations: 343.7 kB / 0.908 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008728/0.8731, allocations: 373.7 kB / 0.9083 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.8742, allocations: 0.6694 MB / 0.909 GB, free: 126 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.8761, allocations: 1.057 MB / 0.91 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.8762, allocations: 6.531 kB / 0.91 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002531/0.8787, allocations: 1.238 MB / 0.9112 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.8787, allocations: 8.766 kB / 0.9112 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.8788, allocations: 11.64 kB / 0.9112 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/0.8788, allocations: 15.28 kB / 0.9112 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009087/0.8797, allocations: 248.1 kB / 0.9115 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.8797, allocations: 23.5 kB / 0.9115 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.8809, allocations: 189.6 kB / 0.9117 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.8811, allocations: 53.48 kB / 0.9117 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00141/0.8825, allocations: 0.6379 MB / 0.9124 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001087/0.8836, allocations: 0.6654 MB / 0.913 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001732/0.8853, allocations: 1.053 MB / 0.914 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.292e-06/0.8853, allocations: 2.344 kB / 0.914 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.002422/0.8878, allocations: 1.238 MB / 0.9153 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.8878, allocations: 9.703 kB / 0.9153 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.8878, allocations: 11.06 kB / 0.9153 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.8879, allocations: 14.41 kB / 0.9153 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.8887, allocations: 249.6 kB / 0.9155 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.8887, allocations: 20.56 kB / 0.9155 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.8899, allocations: 161 kB / 0.9157 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.89, allocations: 57.95 kB / 0.9158 GB, free: 122.6 MB / 0.5573 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.0002801/0.8903, allocations: 255.6 kB / 0.916 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.8905, allocations: 166.7 kB / 0.9162 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.8939, allocations: 1.464 MB / 0.9176 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.8939, allocations: 12.67 kB / 0.9176 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.8939, allocations: 3.5 kB / 0.9176 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001804/0.8957, allocations: 1.093 MB / 0.9187 GB, free: 121.3 MB / 0.5573 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.003995/0.8997, allocations: 2.904 MB / 0.9215 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.8997, allocations: 7.75 kB / 0.9215 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/0.9005, allocations: 182.7 kB / 0.9217 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.9005, allocations: 3.969 kB / 0.9217 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-05/0.9005, allocations: 27.7 kB / 0.9217 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.9006, allocations: 11.7 kB / 0.9217 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9006, allocations: 3.938 kB / 0.9217 GB, free: 120 MB / 0.5573 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.007869/0.9084, allocations: 3.723 MB / 0.9254 GB, free: 117.9 MB / 0.5573 GB Error: post-optimization module symbolicJacobian (simulation) failed.