Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_dev_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.001142/0.001142, allocations: 181.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-master/package.mo): time 0.7043/0.7043, allocations: 133.3 MB / 150.1 MB, free: 11.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.459/1.459, allocations: 222.9 MB / 404.7 MB, free: 6.043 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.001076/0.001076, allocations: 99.17 kB / 485.9 MB, free: 7.219 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009799/0.0009798, allocations: 55.92 kB / 0.5636 GB, free: 69.9 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1422, allocations: 80.42 MB / 0.6421 GB, free: 5.406 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.997/1.139, allocations: 372.6 MB / 1.006 GB, free: 18.77 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.09749/1.237, allocations: 80.94 MB / 1.085 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01636/1.253, allocations: 361.5 kB / 1.085 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.01567/1.269, allocations: 3.801 MB / 1.089 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.03553/1.305, allocations: 12.53 MB / 1.101 GB, free: 3.715 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.02452/1.329, allocations: 7.975 MB / 1.109 GB, free: 14.51 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.04303/1.372, allocations: 34.29 MB / 1.143 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01838/1.391, allocations: 6.847 MB / 1.149 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02149/1.412, allocations: 8.755 MB / 1.158 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/1.426, allocations: 7.09 MB / 1.165 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002778/1.428, allocations: 427.9 kB / 1.165 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02175/1.45, allocations: 6.065 MB / 1.171 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004308/1.455, allocations: 1.753 MB / 1.173 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01194/1.467, allocations: 4.646 MB / 1.177 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.03094/1.498, allocations: 15.07 MB / 1.192 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.498, allocations: 4 kB / 1.192 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.344e-06/1.498, allocations: 0 / 1.192 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0005113/1.498, allocations: 4 kB / 1.192 GB, free: 13.73 MB / 0.7761 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.02387/1.522, allocations: 9.9 MB / 1.202 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.522, allocations: 12.02 kB / 1.202 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/1.526, allocations: 1.016 MB / 1.203 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/1.542, allocations: 7.728 MB / 1.21 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/1.543, allocations: 409.2 kB / 1.211 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/1.544, allocations: 0.5377 MB / 1.211 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/1.557, allocations: 5.912 MB / 1.217 GB, free: 4.164 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/1.557, allocations: 15.78 kB / 1.217 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005541/1.557, allocations: 234.2 kB / 1.217 GB, free: 3.922 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/1.557, allocations: 151.9 kB / 1.217 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008259/1.566, allocations: 4.392 MB / 1.222 GB, free: 15.37 MB / 0.8073 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.03909/1.605, allocations: 32.23 MB / 1.253 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/1.61, allocations: 2.862 MB / 1.256 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002454/1.613, allocations: 1.644 MB / 1.258 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5187/2.131, allocations: 7.035 MB / 1.264 GB, free: 389.4 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005147/2.137, allocations: 1.729 MB / 1.266 GB, free: 389.3 MB / 0.8387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003514/2.14, allocations: 278.7 kB / 1.266 GB, free: 389.3 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=347): time 8.977e-06/2.14, allocations: 0 / 1.266 GB, free: 389.3 MB / 0.8387 GB Notification: Performance of matching and sorting (n=347): time 0.01041/2.15, allocations: 4.513 MB / 1.271 GB, free: 388.3 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/2.151, allocations: 112.4 kB / 1.271 GB, free: 388.2 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/2.161, allocations: 5.747 MB / 1.276 GB, free: 386.2 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008415/2.162, allocations: 95.88 kB / 1.277 GB, free: 386.1 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002947/2.165, allocations: 3.63 MB / 1.28 GB, free: 383.9 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001718/2.167, allocations: 1.214 MB / 1.281 GB, free: 383 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/2.168, allocations: 0.7951 MB / 1.282 GB, free: 382.6 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/2.168, allocations: 305 kB / 1.282 GB, free: 382.3 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/2.171, allocations: 1.287 MB / 1.284 GB, free: 381.8 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/2.174, allocations: 2.41 MB / 1.286 GB, free: 379.9 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005393/2.179, allocations: 3.921 MB / 1.29 GB, free: 377.3 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/2.179, allocations: 8.812 kB / 1.29 GB, free: 377.3 MB / 0.8387 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.009458/2.189, allocations: 4.594 MB / 1.294 GB, free: 375.4 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/2.189, allocations: 15.69 kB / 1.294 GB, free: 375.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-05/2.189, allocations: 49.38 kB / 1.294 GB, free: 375.4 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.942e-05/2.189, allocations: 51.28 kB / 1.294 GB, free: 375.4 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/2.192, allocations: 0.9116 MB / 1.295 GB, free: 375.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-05/2.192, allocations: 70.47 kB / 1.295 GB, free: 375.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005884/2.198, allocations: 498.1 kB / 1.296 GB, free: 375.2 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003965/2.198, allocations: 218.4 kB / 1.296 GB, free: 375.2 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004213/2.202, allocations: 2.39 MB / 1.298 GB, free: 374 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002482/2.205, allocations: 2.4 MB / 1.301 GB, free: 372.2 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004465/2.209, allocations: 3.904 MB / 1.305 GB, free: 369.6 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.596e-05/2.209, allocations: 15.84 kB / 1.305 GB, free: 369.5 MB / 0.8387 GB Notification: Performance of matching and sorting (n=533) (initialization_lambda0): time 0.008046/2.217, allocations: 4.578 MB / 1.309 GB, free: 367.6 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/2.217, allocations: 22.78 kB / 1.309 GB, free: 367.6 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.179e-05/2.217, allocations: 43.19 kB / 1.309 GB, free: 367.6 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-05/2.217, allocations: 55.11 kB / 1.309 GB, free: 367.6 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/2.22, allocations: 0.9072 MB / 1.31 GB, free: 367.6 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.042e-05/2.22, allocations: 70.64 kB / 1.31 GB, free: 367.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005389/2.226, allocations: 489.1 kB / 1.311 GB, free: 367.4 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003311/2.226, allocations: 211.8 kB / 1.311 GB, free: 367.4 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.0009636/2.227, allocations: 448.3 kB / 1.311 GB, free: 367 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001853/2.229, allocations: 0.6846 MB / 1.312 GB, free: 366.7 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009109/2.238, allocations: 5.577 MB / 1.317 GB, free: 364.6 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.451e-05/2.238, allocations: 61.78 kB / 1.317 GB, free: 364.6 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/2.238, allocations: 0 / 1.317 GB, free: 364.6 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005481/2.243, allocations: 3.652 MB / 1.321 GB, free: 363.2 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.01715/2.261, allocations: 11.98 MB / 1.333 GB, free: 355 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/2.261, allocations: 15.98 kB / 1.333 GB, free: 354.9 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/2.263, allocations: 0.7131 MB / 1.333 GB, free: 354.2 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/2.263, allocations: 16 kB / 1.333 GB, free: 354.2 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/2.263, allocations: 119.9 kB / 1.333 GB, free: 354.1 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.667e-05/2.264, allocations: 23.56 kB / 1.334 GB, free: 354.1 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/2.264, allocations: 0 / 1.334 GB, free: 354.1 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.02986/2.293, allocations: 14.62 MB / 1.348 GB, free: 339.4 MB / 0.8387 GB Error: post-optimization module symbolicJacobian (simulation) failed.