Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.00129, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4754/0.4754, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001207, allocations: 104 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 51.92 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3739, allocations: 70.06 MB / 0.5575 GB, free: 44.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.6965/1.07, allocations: 372.7 MB / 0.9214 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6307/1.701, allocations: 80.99 MB / 1.001 GB, free: 22.94 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02211/1.723, allocations: 363.6 kB / 1.001 GB, free: 22.94 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.01599/1.739, allocations: 3.801 MB / 1.005 GB, free: 22.87 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.04277/1.782, allocations: 12.54 MB / 1.017 GB, free: 22.34 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.02507/1.807, allocations: 7.975 MB / 1.025 GB, free: 22.11 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.04221/1.85, allocations: 34.35 MB / 1.058 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01369/1.863, allocations: 6.851 MB / 1.065 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02051/1.884, allocations: 8.778 MB / 1.073 GB, free: 272 kB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/1.898, allocations: 7.09 MB / 1.08 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.003403/1.901, allocations: 429.8 kB / 1.081 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02062/1.922, allocations: 6.063 MB / 1.087 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004455/1.926, allocations: 1.76 MB / 1.088 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.01403/1.94, allocations: 4.641 MB / 1.093 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0341/1.974, allocations: 15.07 MB / 1.108 GB, free: 14.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/1.974, allocations: 0 / 1.108 GB, free: 14.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.974, allocations: 4 kB / 1.108 GB, free: 14.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005492/1.975, allocations: 0 / 1.108 GB, free: 14.98 MB / 0.698 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.02991/2.005, allocations: 9.906 MB / 1.117 GB, free: 5.082 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/2.005, allocations: 12.03 kB / 1.117 GB, free: 5.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006186/2.011, allocations: 1.016 MB / 1.118 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01913/2.03, allocations: 7.729 MB / 1.126 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000469/2.031, allocations: 404.6 kB / 1.126 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/2.033, allocations: 0.5412 MB / 1.127 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/2.05, allocations: 5.897 MB / 1.133 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003258/2.05, allocations: 31.77 kB / 1.133 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/2.052, allocations: 222.3 kB / 1.133 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/2.052, allocations: 159.9 kB / 1.133 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/2.064, allocations: 4.388 MB / 1.137 GB, free: 0.6211 MB / 0.7136 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.05161/2.116, allocations: 32.24 MB / 1.169 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/2.122, allocations: 2.859 MB / 1.171 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/2.125, allocations: 1.644 MB / 1.173 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005602/2.131, allocations: 7.044 MB / 1.18 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004045/2.135, allocations: 1.726 MB / 1.182 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003742/2.139, allocations: 275.4 kB / 1.182 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=347): time 1.518e-05/2.139, allocations: 0 / 1.182 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=347): time 0.01126/2.15, allocations: 4.513 MB / 1.186 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/2.15, allocations: 111.8 kB / 1.186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/2.161, allocations: 5.751 MB / 1.192 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001/2.162, allocations: 101.7 kB / 1.192 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003674/2.166, allocations: 3.617 MB / 1.196 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001955/2.168, allocations: 1.211 MB / 1.197 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/2.169, allocations: 0.7986 MB / 1.198 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.733e-05/2.169, allocations: 301.1 kB / 1.198 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/2.172, allocations: 1.291 MB / 1.199 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/2.175, allocations: 2.405 MB / 1.202 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005809/2.181, allocations: 3.923 MB / 1.205 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/2.181, allocations: 8 kB / 1.205 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.009813/2.191, allocations: 4.588 MB / 1.21 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/2.191, allocations: 16 kB / 1.21 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-05/2.191, allocations: 51.98 kB / 1.21 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-05/2.191, allocations: 56.06 kB / 1.21 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/2.194, allocations: 0.9048 MB / 1.211 GB, free: 296 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001026/2.194, allocations: 71.78 kB / 1.211 GB, free: 224 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007788/2.202, allocations: 0.4947 MB / 1.211 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008493/2.203, allocations: 211.9 kB / 1.212 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005846/2.209, allocations: 2.394 MB / 1.214 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003307/2.212, allocations: 2.404 MB / 1.216 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005908/2.218, allocations: 3.899 MB / 1.22 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.002e-05/2.218, allocations: 8 kB / 1.22 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of matching and sorting (n=533) (initialization_lambda0): time 0.00912/2.227, allocations: 4.584 MB / 1.225 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/2.227, allocations: 20 kB / 1.225 GB, free: 1.215 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.262e-05/2.227, allocations: 47.98 kB / 1.225 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-05/2.227, allocations: 48 kB / 1.225 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/2.23, allocations: 0.9131 MB / 1.226 GB, free: 212 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.03e-05/2.23, allocations: 71.8 kB / 1.226 GB, free: 140 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005578/2.236, allocations: 486.8 kB / 1.226 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/2.236, allocations: 215.9 kB / 1.226 GB, free: 15.45 MB / 0.823 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.0009794/2.237, allocations: 443 kB / 1.227 GB, free: 15.01 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002288/2.239, allocations: 0.6869 MB / 1.227 GB, free: 14.31 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/2.25, allocations: 5.575 MB / 1.233 GB, free: 8.777 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.561e-05/2.25, allocations: 63.97 kB / 1.233 GB, free: 8.715 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.269e-05/2.25, allocations: 3.984 kB / 1.233 GB, free: 8.711 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0057/2.256, allocations: 3.659 MB / 1.237 GB, free: 5.039 MB / 0.823 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.02264/2.279, allocations: 11.98 MB / 1.248 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-05/2.279, allocations: 15.98 kB / 1.248 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/2.282, allocations: 0.7102 MB / 1.249 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-05/2.282, allocations: 16 kB / 1.249 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002871/2.282, allocations: 127.9 kB / 1.249 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.233e-05/2.282, allocations: 16 kB / 1.249 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/2.282, allocations: 3.938 kB / 1.249 GB, free: 8.047 MB / 0.8386 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.6375/2.919, allocations: 14.62 MB / 1.263 GB, free: 437.8 MB / 0.8387 GB Error: post-optimization module symbolicJacobian (simulation) failed.