Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8263/0.8263, allocations: 143.4 MB / 159.2 MB, free: 4.867 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.00115/0.00115, allocations: 184.5 kB / 191.9 MB, free: 5.727 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.429/1.429, allocations: 222.9 MB / 447.3 MB, free: 5.863 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.0009861/0.0009861, allocations: 115 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001951/0.001951, allocations: 279.4 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 87.84 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3762, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.6522/1.028, allocations: 372.5 MB / 1.132 GB, free: 11.92 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5917/1.62, allocations: 80.75 MB / 1.211 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02036/1.641, allocations: 337.1 kB / 1.211 GB, free: 24.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.01539/1.656, allocations: 3.808 MB / 1.215 GB, free: 24.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.04166/1.698, allocations: 12.49 MB / 1.227 GB, free: 23.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.02462/1.722, allocations: 7.914 MB / 1.235 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.04788/1.77, allocations: 34.13 MB / 1.268 GB, free: 23.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02045/1.791, allocations: 6.797 MB / 1.275 GB, free: 21.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02466/1.816, allocations: 8.735 MB / 1.283 GB, free: 18.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01613/1.832, allocations: 7.077 MB / 1.29 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.004729/1.836, allocations: 432.3 kB / 1.29 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02222/1.859, allocations: 6.059 MB / 1.296 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004852/1.864, allocations: 1.75 MB / 1.298 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01351/1.877, allocations: 4.623 MB / 1.303 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0321/1.909, allocations: 15.02 MB / 1.317 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/1.909, allocations: 0 / 1.317 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.763e-06/1.909, allocations: 0 / 1.317 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0005615/1.91, allocations: 0 / 1.317 GB, free: 10.69 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1369 * Number of variables: 1369 Notification: Performance of Generate backend data structure: time 0.03011/1.94, allocations: 9.845 MB / 1.327 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.94, allocations: 8.031 kB / 1.327 GB, free: 2.32 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005934/1.946, allocations: 1.01 MB / 1.328 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01962/1.966, allocations: 7.612 MB / 1.335 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005023/1.966, allocations: 403.9 kB / 1.336 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002403/1.969, allocations: 0.542 MB / 1.336 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/1.988, allocations: 5.907 MB / 1.342 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003099/1.988, allocations: 19.84 kB / 1.342 GB, free: 3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001981/1.99, allocations: 223.2 kB / 1.342 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002133/1.99, allocations: 163.9 kB / 1.342 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/2.004, allocations: 4.379 MB / 1.347 GB, free: 14.24 MB / 0.7917 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.06027/2.064, allocations: 32.22 MB / 1.378 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006337/2.07, allocations: 2.856 MB / 1.381 GB, free: 8.859 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/2.073, allocations: 1.636 MB / 1.382 GB, free: 7.223 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005486/2.079, allocations: 7.053 MB / 1.389 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004649/2.084, allocations: 1.73 MB / 1.391 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004323/2.088, allocations: 273.1 kB / 1.391 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=347): time 2.412e-05/2.088, allocations: 0 / 1.391 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=347): time 0.01468/2.103, allocations: 4.506 MB / 1.396 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/2.103, allocations: 111.8 kB / 1.396 GB, free: 7.918 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01525/2.118, allocations: 5.671 MB / 1.401 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0009254/2.119, allocations: 101.7 kB / 1.401 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004551/2.124, allocations: 3.589 MB / 1.405 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002168/2.126, allocations: 1.211 MB / 1.406 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0028/2.129, allocations: 0.7985 MB / 1.407 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/2.129, allocations: 309.1 kB / 1.407 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/2.132, allocations: 1.287 MB / 1.408 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003837/2.136, allocations: 2.404 MB / 1.411 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006856/2.142, allocations: 3.919 MB / 1.415 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.231e-05/2.142, allocations: 12 kB / 1.415 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.01168/2.154, allocations: 4.585 MB / 1.419 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/2.154, allocations: 16 kB / 1.419 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/2.154, allocations: 51.98 kB / 1.419 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.473e-05/2.154, allocations: 52 kB / 1.419 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003356/2.158, allocations: 0.9053 MB / 1.42 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001116/2.158, allocations: 75.72 kB / 1.42 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006511/2.165, allocations: 494.8 kB / 1.421 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007571/2.165, allocations: 211.9 kB / 1.421 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0057/2.171, allocations: 2.386 MB / 1.423 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004155/2.175, allocations: 2.393 MB / 1.426 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007178/2.182, allocations: 3.915 MB / 1.429 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.215e-05/2.182, allocations: 8 kB / 1.429 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of matching and sorting (n=533) (initialization_lambda0): time 0.01181/2.194, allocations: 4.563 MB / 1.434 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/2.194, allocations: 24.25 kB / 1.434 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/2.195, allocations: 47.98 kB / 1.434 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.98e-05/2.195, allocations: 55.98 kB / 1.434 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00356/2.198, allocations: 0.8971 MB / 1.435 GB, free: 14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001083/2.198, allocations: 75.72 kB / 1.435 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00747/2.206, allocations: 495.4 kB / 1.435 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006995/2.207, allocations: 215.9 kB / 1.436 GB, free: 13.23 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,lessThreshold.y,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (521): * Single equations (assignments): 509 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001372/2.208, allocations: 446.2 kB / 1.436 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002831/2.211, allocations: 0.6753 MB / 1.437 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/2.223, allocations: 5.586 MB / 1.442 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.565e-05/2.223, allocations: 63.95 kB / 1.442 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/2.224, allocations: 0 / 1.442 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006409/2.23, allocations: 3.655 MB / 1.446 GB, free: 2.895 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 postOpt removeSimpleEquations (simulation): time 0.02782/2.258, allocations: 11.96 MB / 1.457 GB, free: 6.797 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.878e-05/2.258, allocations: 15.98 kB / 1.457 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/2.261, allocations: 0.7061 MB / 1.458 GB, free: 6.074 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.893e-05/2.261, allocations: 23.97 kB / 1.458 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004829/2.262, allocations: 123.9 kB / 1.458 GB, free: 5.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.519e-05/2.262, allocations: 16 kB / 1.458 GB, free: 5.914 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/2.262, allocations: 3.938 kB / 1.458 GB, free: 5.91 MB / 0.9011 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip1.res.port_a.h_outflow, pip1.del.port_b.h_outflow) = spatialDistribution(0, pip1.port_a.h_outflow, pip1.port_b.h_outflow, pip1.del.x / pip1.del.length, pip1.v >= 0.0, {0.0, 1.0}, {pip1.del.h_ini_in, pip1.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.03702/2.299, allocations: 14.59 MB / 1.473 GB, free: 7.207 MB / 0.9167 GB Error: post-optimization module symbolicJacobian (simulation) failed.