Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 183.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 221.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 109.9 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.627/0.627, allocations: 91.23 MB / 407.8 MB, free: 2.531 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 51.92 kB / 483.5 MB, free: 6.594 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2331, allocations: 64.97 MB / 0.5357 GB, free: 33.6 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3831/0.6163, allocations: 199.2 MB / 0.7302 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007961/0.6243, allocations: 8.463 MB / 0.7385 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/0.6249, allocations: 7.781 kB / 0.7385 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008398/0.6258, allocations: 357.1 kB / 0.7388 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.6292, allocations: 1.416 MB / 0.7402 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.6328, allocations: 1.446 MB / 0.7416 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.6362, allocations: 2.949 MB / 0.7445 GB, free: 0.5195 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.6366, allocations: 191.5 kB / 0.7447 GB, free: 468 kB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.6392, allocations: 1.741 MB / 0.7464 GB, free: 332 kB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007829/0.64, allocations: 0.676 MB / 0.7471 GB, free: 224 kB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.6401, allocations: 50.31 kB / 0.7471 GB, free: 224 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004271/0.6444, allocations: 2.207 MB / 0.7493 GB, free: 184 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.6446, allocations: 163.1 kB / 0.7494 GB, free: 152 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.645, allocations: 417.8 kB / 0.7498 GB, free: 24 kB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.6485, allocations: 2.352 MB / 0.7521 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6485, allocations: 4 kB / 0.7521 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6485, allocations: 0 / 0.7521 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.6486, allocations: 0 / 0.7521 GB, free: 15.54 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003434/0.652, allocations: 1.625 MB / 0.7537 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.652, allocations: 8.562 kB / 0.7537 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6531, allocations: 164.9 kB / 0.7539 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.6537, allocations: 0.5061 MB / 0.7544 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.372e-05/0.6538, allocations: 70.83 kB / 0.7544 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.654, allocations: 64.91 kB / 0.7545 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.6555, allocations: 0.8212 MB / 0.7553 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.6555, allocations: 4 kB / 0.7553 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/0.6556, allocations: 25.25 kB / 0.7553 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.6556, allocations: 13.31 kB / 0.7553 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.6576, allocations: 0.7025 MB / 0.756 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.6621, allocations: 3.594 MB / 0.7595 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.664, allocations: 0.7687 MB / 0.7603 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009021/0.6649, allocations: 388.7 kB / 0.7607 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/0.6668, allocations: 1.639 MB / 0.7623 GB, free: 7.641 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.668, allocations: 0.5548 MB / 0.7628 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/0.668, allocations: 0 / 0.7628 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76): time 0.003784/0.6718, allocations: 1.455 MB / 0.7642 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.6718, allocations: 85.11 kB / 0.7643 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.6723, allocations: 474.8 kB / 0.7648 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.6724, allocations: 45.69 kB / 0.7648 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.6726, allocations: 300.6 kB / 0.7651 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.6728, allocations: 266.3 kB / 0.7653 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.6731, allocations: 182.5 kB / 0.7655 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6732, allocations: 370.8 kB / 0.7659 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008915/0.6741, allocations: 324.3 kB / 0.7662 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009495/0.6751, allocations: 425.9 kB / 0.7666 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.6769, allocations: 0.7963 MB / 0.7674 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6769, allocations: 0 / 0.7674 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002485/0.6794, allocations: 1.074 MB / 0.7684 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.6795, allocations: 70.02 kB / 0.7685 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.6795, allocations: 8.219 kB / 0.7685 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.6798, allocations: 81.66 kB / 0.7686 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.6806, allocations: 183.5 kB / 0.7687 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.6826, allocations: 2.838 MB / 0.7715 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/0.6833, allocations: 107.4 kB / 0.7716 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.6835, allocations: 91.97 kB / 0.7717 GB, free: 13.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003026/0.6838, allocations: 193.5 kB / 0.7719 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.6839, allocations: 63.16 kB / 0.7719 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003616/0.6875, allocations: 1.338 MB / 0.7732 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.6876, allocations: 15.94 kB / 0.7733 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6876, allocations: 0 / 0.7733 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.6876, allocations: 3.984 kB / 0.7733 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/0.6914, allocations: 2.1 MB / 0.7753 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/0.6915, allocations: 8 kB / 0.7753 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.6922, allocations: 177 kB / 0.7755 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/0.6924, allocations: 80.17 kB / 0.7756 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-05/0.6925, allocations: 47.97 kB / 0.7756 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.6945, allocations: 2.851 MB / 0.7784 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6945, allocations: 32 / 0.7784 GB, free: 6.73 MB / 0.5261 GB Error: Too few equations, under-determined system. The model has 64 equation(s) and 66 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides 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.004482/0.699, allocations: 2.073 MB / 0.7804 GB, free: 4.613 MB / 0.5261 GB Error: post-optimization module symbolicJacobian (simulation) failed.