Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 182.8 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.7552/0.7552, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.673/1.673, allocations: 222.9 MB / 404.7 MB, free: 6.137 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.001061/0.001061, allocations: 111.7 kB / 485.9 MB, free: 7.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009746/0.0009746, allocations: 51.91 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1319, allocations: 80.43 MB / 0.6421 GB, free: 5.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.3515/0.4834, allocations: 66.13 MB / 0.7067 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02233/0.5058, allocations: 16.82 MB / 0.7231 GB, free: 14 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.5087, allocations: 60.81 kB / 0.7232 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.5107, allocations: 0.652 MB / 0.7238 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006264/0.517, allocations: 2.35 MB / 0.7261 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.5215, allocations: 1.617 MB / 0.7277 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.04071/0.5623, allocations: 45.72 MB / 0.7724 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01655/0.5789, allocations: 12.46 MB / 0.7845 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01755/0.5965, allocations: 8.81 MB / 0.7931 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01767/0.6142, allocations: 9.182 MB / 0.8021 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.002683/0.6169, allocations: 0.5703 MB / 0.8026 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009173/0.6261, allocations: 2.125 MB / 0.8047 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.003124/0.6292, allocations: 2.287 MB / 0.807 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.01071/0.6399, allocations: 6.216 MB / 0.813 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.02383/0.6638, allocations: 21.1 MB / 0.8336 GB, free: 14.23 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6638, allocations: 0 / 0.8336 GB, free: 14.23 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6639, allocations: 0 / 0.8336 GB, free: 14.23 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000694/0.6646, allocations: 0 / 0.8336 GB, free: 14.23 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.03218/0.6967, allocations: 13.11 MB / 0.8464 GB, free: 1.008 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6968, allocations: 8.031 kB / 0.8464 GB, free: 1 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004222/0.701, allocations: 1.289 MB / 0.8477 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02732/0.7284, allocations: 13.38 MB / 0.8608 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005047/0.7289, allocations: 0.5255 MB / 0.8613 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002699/0.7316, allocations: 0.7146 MB / 0.862 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/0.7562, allocations: 11.19 MB / 0.8729 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002379/0.7564, allocations: 19.84 kB / 0.8729 GB, free: 5.477 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/0.7577, allocations: 311.9 kB / 0.8732 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002083/0.7579, allocations: 216 kB / 0.8734 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/0.778, allocations: 9.249 MB / 0.8825 GB, free: 11.7 MB / 0.6198 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.07168/0.8497, allocations: 51.16 MB / 0.9324 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007594/0.8574, allocations: 4.853 MB / 0.9372 GB, free: 304 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003907/0.8613, allocations: 2.821 MB / 0.9399 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/0.863, allocations: 1.719 MB / 0.9416 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.366e-05/0.8631, allocations: 94.2 kB / 0.9417 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=420): time 6.622e-06/0.8631, allocations: 3.938 kB / 0.9417 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=420): time 0.01356/0.8767, allocations: 7.815 MB / 0.9493 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.8767, allocations: 90.55 kB / 0.9494 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5181/1.395, allocations: 9.977 MB / 0.9592 GB, free: 229.6 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/1.396, allocations: 112 kB / 0.9593 GB, free: 229.5 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.004643/1.401, allocations: 4.714 MB / 0.9639 GB, free: 227.2 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.002287/1.403, allocations: 1.488 MB / 0.9653 GB, free: 226.2 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002056/1.405, allocations: 1.102 MB / 0.9664 GB, free: 225.7 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/1.405, allocations: 302.8 kB / 0.9667 GB, free: 225.4 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004363/1.41, allocations: 2.649 MB / 0.9693 GB, free: 224.5 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005225/1.415, allocations: 4.168 MB / 0.9733 GB, free: 221.7 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009433/1.424, allocations: 7.376 MB / 0.9805 GB, free: 217.5 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-05/1.424, allocations: 15.03 kB / 0.9806 GB, free: 217.5 MB / 0.6824 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01543/1.44, allocations: 7.923 MB / 0.9883 GB, free: 214.5 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/1.44, allocations: 29.28 kB / 0.9883 GB, free: 214.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.44, allocations: 77.03 kB / 0.9884 GB, free: 214.5 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.325e-05/1.44, allocations: 71.81 kB / 0.9885 GB, free: 214.5 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/1.444, allocations: 1.204 MB / 0.9896 GB, free: 214.4 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-05/1.444, allocations: 103.7 kB / 0.9897 GB, free: 214.3 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00682/1.45, allocations: 1.015 MB / 0.9907 GB, free: 214 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004464/1.451, allocations: 279 kB / 0.991 GB, free: 213.9 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007606/1.458, allocations: 6.408 MB / 0.9973 GB, free: 211.5 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003735/1.462, allocations: 4.161 MB / 1.001 GB, free: 208.6 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007251/1.47, allocations: 7.374 MB / 1.009 GB, free: 201.7 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.578e-05/1.47, allocations: 16 kB / 1.009 GB, free: 201.7 MB / 0.6824 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.01176/1.481, allocations: 7.913 MB / 1.016 GB, free: 193.8 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/1.481, allocations: 24.75 kB / 1.016 GB, free: 193.7 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/1.482, allocations: 79.67 kB / 1.016 GB, free: 193.7 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.41e-05/1.482, allocations: 72 kB / 1.016 GB, free: 193.6 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003445/1.485, allocations: 1.209 MB / 1.018 GB, free: 192.4 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.367e-05/1.485, allocations: 103.6 kB / 1.018 GB, free: 192.3 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007382/1.493, allocations: 0.9213 MB / 1.019 GB, free: 191.3 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006448/1.493, allocations: 275.9 kB / 1.019 GB, free: 191.1 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.001505/1.495, allocations: 0.5115 MB / 1.019 GB, free: 190.6 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002543/1.497, allocations: 0.8374 MB / 1.02 GB, free: 189.7 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.509, allocations: 8.917 MB / 1.029 GB, free: 180.8 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.917e-05/1.509, allocations: 89.03 kB / 1.029 GB, free: 180.8 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.509, allocations: 0 / 1.029 GB, free: 180.8 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006778/1.516, allocations: 6.105 MB / 1.035 GB, free: 174.6 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02859/1.545, allocations: 20.06 MB / 1.055 GB, free: 154.3 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.113e-05/1.545, allocations: 39.97 kB / 1.055 GB, free: 154.2 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003199/1.548, allocations: 0.9371 MB / 1.055 GB, free: 153.3 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-05/1.548, allocations: 32 kB / 1.056 GB, free: 153.2 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000325/1.548, allocations: 199.8 kB / 1.056 GB, free: 153.1 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-05/1.548, allocations: 43.86 kB / 1.056 GB, free: 153 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.548, allocations: 19.94 kB / 1.056 GB, free: 153 MB / 0.6824 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.pipSeg[1].senMasFlo.port_a.h_outflow, pip.pipSeg[1].del.port_b.h_outflow) = spatialDistribution(0, senTemIn.port_a.h_outflow, pip.pipSeg[1].port_b.h_outflow, pip.pipSeg[1].del.x / pip.pipSeg[1].del.length, pip.v >= 0.0, {0.0, 1.0}, {pip.pipSeg[1].del.h_ini_in, pip.pipSeg[1].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.02668/1.575, allocations: 19.73 MB / 1.075 GB, free: 132.8 MB / 0.6824 GB Error: post-optimization module symbolicJacobian (simulation) failed.