Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001187, allocations: 186.6 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.4487/0.4487, allocations: 87.5 MB / 104.9 MB, free: 13.02 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.411/1.411, allocations: 222.9 MB / 349.1 MB, free: 2.754 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.0009783/0.0009783, allocations: 103.7 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001066, allocations: 59.91 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3708, allocations: 70.06 MB / 0.5575 GB, free: 44.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.05885/0.4297, allocations: 76.34 MB / 0.632 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02545/0.4551, allocations: 20.09 MB / 0.6517 GB, free: 12.49 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/0.4592, allocations: 75.56 kB / 0.6517 GB, free: 12.41 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003225/0.4625, allocations: 0.808 MB / 0.6525 GB, free: 11.6 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008278/0.4708, allocations: 2.629 MB / 0.6551 GB, free: 8.961 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006434/0.4772, allocations: 1.892 MB / 0.6569 GB, free: 7.078 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.01246/0.4897, allocations: 6.75 MB / 0.6635 GB, free: 312 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003621/0.4934, allocations: 1.41 MB / 0.6649 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005456/0.4989, allocations: 1.828 MB / 0.6667 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005563/0.5045, allocations: 1.474 MB / 0.6681 GB, free: 11.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007842/0.5053, allocations: 92 kB / 0.6682 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005482/0.5108, allocations: 1.817 MB / 0.67 GB, free: 9.633 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009338/0.5117, allocations: 394.2 kB / 0.6704 GB, free: 9.246 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.5143, allocations: 1.01 MB / 0.6714 GB, free: 8.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007593/0.5219, allocations: 3.392 MB / 0.6747 GB, free: 4.828 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.522, allocations: 0 / 0.6747 GB, free: 4.828 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.522, allocations: 3.938 kB / 0.6747 GB, free: 4.824 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000129/0.5221, allocations: 0 / 0.6747 GB, free: 4.824 MB / 490.7 MB 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.007167/0.5293, allocations: 2.498 MB / 0.6771 GB, free: 2.266 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5294, allocations: 15.97 kB / 0.6771 GB, free: 2.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/0.5315, allocations: 401.2 kB / 0.6775 GB, free: 1.855 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.5354, allocations: 1.781 MB / 0.6792 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.5355, allocations: 94.48 kB / 0.6793 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.5357, allocations: 128 kB / 0.6795 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.5382, allocations: 1.425 MB / 0.6808 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.5382, allocations: 11.94 kB / 0.6809 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.5383, allocations: 55.94 kB / 0.6809 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.5384, allocations: 32 kB / 0.6809 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.5407, allocations: 1.07 MB / 0.682 GB, free: 13.09 MB / 0.4948 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.009291/0.55, allocations: 7.833 MB / 0.6896 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/0.5535, allocations: 0.9965 MB / 0.6906 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008164/0.5543, allocations: 439.6 kB / 0.691 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/0.556, allocations: 1.864 MB / 0.6928 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.5571, allocations: 498.2 kB / 0.6933 GB, free: 460 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=84): time 3.667e-06/0.5571, allocations: 4 kB / 0.6933 GB, free: 456 kB / 0.4948 GB Notification: Performance of matching and sorting (n=84): time 0.003192/0.5603, allocations: 1.258 MB / 0.6946 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.5604, allocations: 93.69 kB / 0.6946 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.5624, allocations: 1.383 MB / 0.696 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.475e-05/0.5625, allocations: 41.7 kB / 0.696 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006998/0.5632, allocations: 0.8178 MB / 0.6968 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.5635, allocations: 299.8 kB / 0.6971 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.5638, allocations: 210.7 kB / 0.6973 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.564, allocations: 345.9 kB / 0.6977 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007839/0.5648, allocations: 365.9 kB / 0.698 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.5658, allocations: 0.6715 MB / 0.6987 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.5676, allocations: 1.059 MB / 0.6997 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.5676, allocations: 7.938 kB / 0.6997 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002408/0.57, allocations: 1.233 MB / 0.7009 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5701, allocations: 8.812 kB / 0.7009 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/0.5701, allocations: 15.92 kB / 0.7009 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.5701, allocations: 20 kB / 0.7009 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.571, allocations: 247.6 kB / 0.7012 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.5711, allocations: 19.92 kB / 0.7012 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.5723, allocations: 186.8 kB / 0.7014 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.369e-05/0.5724, allocations: 55.98 kB / 0.7014 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001209/0.5737, allocations: 0.6353 MB / 0.7021 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009976/0.5747, allocations: 0.6676 MB / 0.7027 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001805/0.5765, allocations: 1.056 MB / 0.7037 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.017e-06/0.5765, allocations: 0 / 0.7037 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.00248/0.579, allocations: 1.245 MB / 0.705 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.579, allocations: 8 kB / 0.705 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.579, allocations: 12.16 kB / 0.705 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5791, allocations: 12 kB / 0.705 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/0.58, allocations: 252.2 kB / 0.7052 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.58, allocations: 27.91 kB / 0.7052 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.5812, allocations: 155.2 kB / 0.7054 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/0.5813, allocations: 55.98 kB / 0.7054 GB, free: 3.422 MB / 0.5105 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.0003469/0.5817, allocations: 247.9 kB / 0.7057 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.582, allocations: 165.9 kB / 0.7058 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.5849, allocations: 1.455 MB / 0.7073 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.585, allocations: 12 kB / 0.7073 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.585, allocations: 3.984 kB / 0.7073 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00195/0.587, allocations: 1.094 MB / 0.7083 GB, free: 424 kB / 0.5105 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.3371/0.9241, allocations: 2.909 MB / 0.7112 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/0.9241, allocations: 4.625 kB / 0.7112 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008742/0.925, allocations: 181.5 kB / 0.7114 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.925, allocations: 3.062 kB / 0.7114 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/0.9251, allocations: 30.75 kB / 0.7114 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.9251, allocations: 8.953 kB / 0.7114 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9251, allocations: 0.6562 kB / 0.7114 GB, free: 143.2 MB / 0.5105 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.009279/0.9344, allocations: 3.729 MB / 0.715 GB, free: 141.7 MB / 0.5105 GB Error: post-optimization module symbolicJacobian (simulation) failed.