Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001289/0.001289, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7733/0.7733, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 403.3 MB, free: 7.145 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 105.9 kB / 484.4 MB, free: 8.695 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 51.92 kB / 0.5619 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1325, allocations: 80.2 MB / 0.6402 GB, free: 6.766 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 1.067/1.199, allocations: 372.6 MB / 1.004 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.09374/1.293, allocations: 80.94 MB / 1.083 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02366/1.317, allocations: 369.8 kB / 1.083 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0196/1.336, allocations: 3.806 MB / 1.087 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.04415/1.38, allocations: 12.52 MB / 1.099 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02235/1.403, allocations: 7.966 MB / 1.107 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.04221/1.445, allocations: 34.29 MB / 1.141 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/1.458, allocations: 6.838 MB / 1.147 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02321/1.481, allocations: 8.753 MB / 1.156 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01331/1.494, allocations: 7.094 MB / 1.163 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.003012/1.497, allocations: 425.8 kB / 1.163 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01839/1.516, allocations: 6.071 MB / 1.169 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003784/1.519, allocations: 1.754 MB / 1.171 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01031/1.53, allocations: 4.644 MB / 1.175 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.02981/1.56, allocations: 15.06 MB / 1.19 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.56, allocations: 0 / 1.19 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.323e-06/1.56, allocations: 4 kB / 1.19 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0005111/1.56, allocations: 0 / 1.19 GB, free: 1.145 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.02533/1.585, allocations: 9.905 MB / 1.2 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.586, allocations: 8.031 kB / 1.2 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/1.591, allocations: 1.027 MB / 1.201 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01745/1.608, allocations: 7.725 MB / 1.208 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00048/1.609, allocations: 408.3 kB / 1.209 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/1.611, allocations: 0.5409 MB / 1.209 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/1.626, allocations: 5.907 MB / 1.215 GB, free: 7.566 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002646/1.626, allocations: 19.83 kB / 1.215 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001489/1.628, allocations: 226.4 kB / 1.215 GB, free: 7.328 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002044/1.628, allocations: 155.9 kB / 1.215 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/1.64, allocations: 4.388 MB / 1.22 GB, free: 2.777 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.05243/1.693, allocations: 32.23 MB / 1.251 GB, free: 224 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006131/1.699, allocations: 2.874 MB / 1.254 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003232/1.702, allocations: 1.636 MB / 1.256 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005923/1.708, allocations: 7.045 MB / 1.262 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004542/1.713, allocations: 1.73 MB / 1.264 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003851/1.717, allocations: 292.5 kB / 1.264 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=347): time 1.267e-05/1.717, allocations: 0 / 1.264 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=347): time 0.6114/2.328, allocations: 4.503 MB / 1.269 GB, free: 390.3 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/2.328, allocations: 112.2 kB / 1.269 GB, free: 390.2 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01094/2.339, allocations: 5.744 MB / 1.275 GB, free: 388.2 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.000787/2.34, allocations: 98.02 kB / 1.275 GB, free: 388.1 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003016/2.343, allocations: 3.62 MB / 1.278 GB, free: 386.1 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/2.344, allocations: 1.213 MB / 1.279 GB, free: 385.2 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/2.346, allocations: 0.7966 MB / 1.28 GB, free: 384.8 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 5.394e-05/2.346, allocations: 305.9 kB / 1.28 GB, free: 384.5 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/2.348, allocations: 1.285 MB / 1.282 GB, free: 384 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/2.351, allocations: 2.412 MB / 1.284 GB, free: 382.1 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/2.357, allocations: 3.919 MB / 1.288 GB, free: 379.5 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.282e-05/2.357, allocations: 8.656 kB / 1.288 GB, free: 379.5 MB / 0.8387 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.00992/2.367, allocations: 4.594 MB / 1.292 GB, free: 377.6 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/2.367, allocations: 19.09 kB / 1.292 GB, free: 377.6 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.416e-05/2.367, allocations: 50.47 kB / 1.292 GB, free: 377.6 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.078e-05/2.367, allocations: 51.47 kB / 1.292 GB, free: 377.6 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/2.37, allocations: 0.906 MB / 1.293 GB, free: 377.5 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-05/2.37, allocations: 74.81 kB / 1.293 GB, free: 377.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006214/2.377, allocations: 0.4898 MB / 1.294 GB, free: 377.4 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006125/2.377, allocations: 216.8 kB / 1.294 GB, free: 377.3 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004875/2.382, allocations: 2.396 MB / 1.296 GB, free: 376.2 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00262/2.385, allocations: 2.405 MB / 1.299 GB, free: 374.3 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004724/2.389, allocations: 3.896 MB / 1.303 GB, free: 371.7 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.962e-05/2.389, allocations: 11.91 kB / 1.303 GB, free: 371.7 MB / 0.8387 GB Notification: Performance of matching and sorting (n=533) (initialization_lambda0): time 0.01016/2.4, allocations: 4.579 MB / 1.307 GB, free: 369.8 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/2.4, allocations: 21.09 kB / 1.307 GB, free: 369.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.068e-05/2.4, allocations: 47.19 kB / 1.307 GB, free: 369.8 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.537e-05/2.4, allocations: 51.41 kB / 1.307 GB, free: 369.8 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/2.403, allocations: 0.906 MB / 1.308 GB, free: 369.7 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-05/2.403, allocations: 78.56 kB / 1.308 GB, free: 369.7 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006211/2.409, allocations: 481.2 kB / 1.309 GB, free: 369.6 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004328/2.41, allocations: 215.7 kB / 1.309 GB, free: 369.6 MB / 0.8387 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.001182/2.411, allocations: 449 kB / 1.309 GB, free: 369.2 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002256/2.413, allocations: 0.6859 MB / 1.31 GB, free: 368.8 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008889/2.422, allocations: 5.572 MB / 1.315 GB, free: 366.8 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.757e-05/2.422, allocations: 54.58 kB / 1.315 GB, free: 366.8 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/2.422, allocations: 1.969 kB / 1.315 GB, free: 366.8 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005297/2.427, allocations: 3.66 MB / 1.319 GB, free: 365.4 MB / 0.8387 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.02124/2.449, allocations: 11.99 MB / 1.331 GB, free: 358.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.455e-05/2.449, allocations: 18.33 kB / 1.331 GB, free: 358.8 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/2.451, allocations: 0.7047 MB / 1.331 GB, free: 358.6 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.306e-05/2.451, allocations: 14.38 kB / 1.331 GB, free: 358.6 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002351/2.452, allocations: 128.9 kB / 1.332 GB, free: 358.6 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.61e-05/2.452, allocations: 15.97 kB / 1.332 GB, free: 358.6 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/2.452, allocations: 0 / 1.332 GB, free: 358.6 MB / 0.8387 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.03201/2.484, allocations: 14.61 MB / 1.346 GB, free: 343.9 MB / 0.8387 GB Error: post-optimization module symbolicJacobian (simulation) failed.