Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.266/2.266, allocations: 391.2 MB / 407 MB, free: 10.82 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.001446/0.001446, allocations: 194.8 kB / 499.1 MB, free: 4.605 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.583/1.583, 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.001082/0.001082, allocations: 117 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 51.88 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3085, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 1.029/1.337, allocations: 372.6 MB / 1.582 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.1133/1.451, allocations: 81.05 MB / 1.661 GB, free: 13.57 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02231/1.473, allocations: 365.8 kB / 1.662 GB, free: 13.21 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.01732/1.491, allocations: 3.804 MB / 1.665 GB, free: 9.387 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.04951/1.54, allocations: 12.56 MB / 1.677 GB, free: 12.78 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.02707/1.567, allocations: 7.993 MB / 1.685 GB, free: 4.844 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.04792/1.615, allocations: 34.31 MB / 1.719 GB, free: 2.438 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01957/1.635, allocations: 6.822 MB / 1.725 GB, free: 11.5 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02705/1.662, allocations: 8.743 MB / 1.734 GB, free: 2.723 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01781/1.68, allocations: 7.078 MB / 1.741 GB, free: 11.61 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.00514/1.685, allocations: 428 kB / 1.741 GB, free: 11.2 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02378/1.709, allocations: 6.064 MB / 1.747 GB, free: 5.117 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.005137/1.714, allocations: 1.754 MB / 1.749 GB, free: 3.355 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.01436/1.728, allocations: 4.64 MB / 1.753 GB, free: 14.69 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.03294/1.761, allocations: 15.07 MB / 1.768 GB, free: 15.58 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.761, allocations: 0 / 1.768 GB, free: 15.58 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.224e-06/1.761, allocations: 0 / 1.768 GB, free: 15.58 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.0006352/1.762, allocations: 0 / 1.768 GB, free: 15.58 MB / 1.12 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.03506/1.797, allocations: 9.903 MB / 1.778 GB, free: 5.578 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.797, allocations: 11.98 kB / 1.778 GB, free: 5.566 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005563/1.803, allocations: 1.02 MB / 1.779 GB, free: 4.535 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02093/1.824, allocations: 7.728 MB / 1.786 GB, free: 12.72 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005368/1.824, allocations: 414.6 kB / 1.787 GB, free: 12.32 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002101/1.826, allocations: 0.5427 MB / 1.787 GB, free: 11.77 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/1.844, allocations: 5.907 MB / 1.793 GB, free: 5.66 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003001/1.844, allocations: 23.77 kB / 1.793 GB, free: 5.637 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001608/1.846, allocations: 224 kB / 1.793 GB, free: 5.418 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/1.846, allocations: 155.9 kB / 1.794 GB, free: 5.266 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/1.858, allocations: 4.385 MB / 1.798 GB, free: 0.8711 MB / 1.135 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.05697/1.915, allocations: 32.24 MB / 1.829 GB, free: 14 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007101/1.922, allocations: 2.865 MB / 1.832 GB, free: 11.14 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003433/1.926, allocations: 1.64 MB / 1.834 GB, free: 9.496 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006018/1.932, allocations: 7.055 MB / 1.841 GB, free: 0.875 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004675/1.937, allocations: 1.719 MB / 1.842 GB, free: 15.12 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004722/1.941, allocations: 273.2 kB / 1.842 GB, free: 14.86 MB / 1.198 GB Notification: Performance of pre-optimization done (n=347): time 2.193e-05/1.941, allocations: 0 / 1.842 GB, free: 14.86 MB / 1.198 GB Notification: Performance of matching and sorting (n=347): time 0.01252/1.954, allocations: 4.513 MB / 1.847 GB, free: 10.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/1.954, allocations: 111.8 kB / 1.847 GB, free: 10.18 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01409/1.968, allocations: 5.755 MB / 1.853 GB, free: 4.453 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0009432/1.969, allocations: 101.6 kB / 1.853 GB, free: 4.348 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.004273/1.974, allocations: 3.613 MB / 1.856 GB, free: 0.707 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.002085/1.976, allocations: 1.217 MB / 1.857 GB, free: 15.47 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003541/1.979, allocations: 0.7908 MB / 1.858 GB, free: 14.67 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.979, allocations: 305.1 kB / 1.859 GB, free: 14.37 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/1.983, allocations: 1.295 MB / 1.86 GB, free: 13.05 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003978/1.987, allocations: 2.406 MB / 1.862 GB, free: 10.15 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006451/1.993, allocations: 3.917 MB / 1.866 GB, free: 5.777 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-05/1.993, allocations: 12 kB / 1.866 GB, free: 5.766 MB / 1.214 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.009847/2.003, allocations: 4.588 MB / 1.87 GB, free: 1.145 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/2.003, allocations: 20.97 kB / 1.87 GB, free: 1.125 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.246e-05/2.003, allocations: 51.92 kB / 1.871 GB, free: 1.074 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.394e-05/2.003, allocations: 63.92 kB / 1.871 GB, free: 1.012 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003171/2.006, allocations: 0.9049 MB / 1.871 GB, free: 108 kB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-05/2.007, allocations: 71.73 kB / 1.872 GB, free: 36 kB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005625/2.012, allocations: 0.4948 MB / 1.872 GB, free: 15.54 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/2.013, allocations: 211.9 kB / 1.872 GB, free: 15.33 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004652/2.017, allocations: 2.398 MB / 1.875 GB, free: 12.92 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003152/2.02, allocations: 2.402 MB / 1.877 GB, free: 10.02 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00566/2.026, allocations: 3.901 MB / 1.881 GB, free: 5.664 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-05/2.026, allocations: 8 kB / 1.881 GB, free: 5.656 MB / 1.229 GB Notification: Performance of matching and sorting (n=533) (initialization_lambda0): time 0.009095/2.035, allocations: 4.58 MB / 1.885 GB, free: 1.043 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/2.035, allocations: 20 kB / 1.885 GB, free: 1.023 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.242e-05/2.035, allocations: 43.98 kB / 1.885 GB, free: 0.9805 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.513e-05/2.035, allocations: 52 kB / 1.885 GB, free: 0.9297 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/2.039, allocations: 0.9053 MB / 1.886 GB, free: 24 kB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171/3.21, allocations: 72.47 kB / 1.886 GB, free: 484.4 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007136/3.217, allocations: 485.3 kB / 1.887 GB, free: 484.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/3.218, allocations: 215.3 kB / 1.887 GB, free: 484.4 MB / 1.229 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.001467/3.22, allocations: 441.5 kB / 1.887 GB, free: 484.2 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00324/3.223, allocations: 0.6817 MB / 1.888 GB, free: 484.2 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/3.237, allocations: 5.584 MB / 1.893 GB, free: 482.9 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001249/3.237, allocations: 58.45 kB / 1.894 GB, free: 482.9 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/3.237, allocations: 4.688 kB / 1.894 GB, free: 482.9 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007007/3.244, allocations: 3.659 MB / 1.897 GB, free: 481.5 MB / 1.229 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.02827/3.273, allocations: 11.98 MB / 1.909 GB, free: 476.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.537e-05/3.273, allocations: 15.47 kB / 1.909 GB, free: 476.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/3.275, allocations: 0.7066 MB / 1.909 GB, free: 476.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.261e-05/3.275, allocations: 15.88 kB / 1.91 GB, free: 476.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/3.276, allocations: 123.9 kB / 1.91 GB, free: 476.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.048e-05/3.276, allocations: 19.41 kB / 1.91 GB, free: 476.1 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.276, allocations: 0 / 1.91 GB, free: 476.1 MB / 1.229 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.03845/3.314, allocations: 14.62 MB / 1.924 GB, free: 470.3 MB / 1.229 GB Error: post-optimization module symbolicJacobian (simulation) failed.