Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009716/0.0009716, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9756/0.9756, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09722/0.09722, allocations: 17.37 MB / 276.6 MB, free: 11.85 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 413 MB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/1.131e-05, allocations: 2.281 kB / 413 MB, free: 14.86 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.291/0.291, allocations: 37.22 MB / 450.2 MB, free: 43.11 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006079/0.2971, allocations: 7.835 MB / 458.1 MB, free: 40.16 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.2974, allocations: 23.84 kB / 458.1 MB, free: 40.16 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.2987, allocations: 0.8411 MB / 458.9 MB, free: 39.79 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000784/0.2995, allocations: 0.8032 MB / 459.7 MB, free: 39.26 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.3003, allocations: 0.9225 MB / 460.6 MB, free: 38.73 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.3013, allocations: 1.952 MB / 462.6 MB, free: 37.74 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.3015, allocations: 211.3 kB / 462.8 MB, free: 37.62 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.302, allocations: 0.8989 MB / 463.7 MB, free: 37.21 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003747/0.3023, allocations: 0.5181 MB / 464.2 MB, free: 37.02 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.3024, allocations: 140.4 kB / 464.4 MB, free: 37.02 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3035, allocations: 1.022 MB / 465.4 MB, free: 36.81 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.3037, allocations: 465.8 kB / 465.8 MB, free: 36.54 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.3039, allocations: 0.5361 MB / 466.4 MB, free: 36.28 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.3057, allocations: 3.173 MB / 469.5 MB, free: 34.88 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3057, allocations: 4 kB / 469.5 MB, free: 34.87 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3057, allocations: 0 / 469.5 MB, free: 34.87 MB / 410.8 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.3057, allocations: 3.188 kB / 469.6 MB, free: 34.87 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.001701/0.3074, allocations: 2.121 MB / 471.7 MB, free: 33.51 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3074, allocations: 9.719 kB / 471.7 MB, free: 33.51 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.3076, allocations: 252.7 kB / 471.9 MB, free: 33.36 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006189/0.3082, allocations: 393.1 kB / 472.3 MB, free: 33.17 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.3089, allocations: 0.8313 MB / 473.1 MB, free: 32.61 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.3091, allocations: 320.5 kB / 473.5 MB, free: 32.39 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.3092, allocations: 143.3 kB / 473.6 MB, free: 32.35 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/0.3132, allocations: 7.386 MB / 481 MB, free: 29.17 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.3132, allocations: 192 / 481 MB, free: 29.17 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.348e-05/0.3133, allocations: 60.42 kB / 481 MB, free: 29.12 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002354/0.3135, allocations: 285.2 kB / 481.3 MB, free: 29.06 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009319/0.3228, allocations: 13.39 MB / 494.7 MB, free: 24.11 MB / 410.8 MB 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.01313/0.336, allocations: 17.48 MB / 0.5002 GB, free: 15.96 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.3387, allocations: 3.532 MB / 0.5036 GB, free: 14.38 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.3406, allocations: 2.753 MB / 0.5063 GB, free: 13.17 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008637/0.3414, allocations: 0.6508 MB / 0.507 GB, free: 12.96 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.3414, allocations: 43.77 kB / 0.507 GB, free: 12.91 MB / 410.8 MB Notification: Performance of pre-optimization done (n=90): time 2.154e-06/0.3414, allocations: 0 / 0.507 GB, free: 12.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=146): time 0.05326/0.3947, allocations: 30.99 MB / 0.5373 GB, free: 6.379 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06877/0.4635, allocations: 40.63 MB / 0.5769 GB, free: 13.43 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.4653, allocations: 1.861 MB / 0.5788 GB, free: 11.56 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004264/0.4657, allocations: 49.7 kB / 0.5788 GB, free: 11.51 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.4662, allocations: 0.8168 MB / 0.5796 GB, free: 10.68 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004972/0.4667, allocations: 0.5035 MB / 0.5801 GB, free: 10.18 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008822/0.4676, allocations: 0.5071 MB / 0.5806 GB, free: 9.664 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.4676, allocations: 301.1 kB / 0.5809 GB, free: 9.367 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00422/0.4719, allocations: 4.904 MB / 0.5857 GB, free: 4.461 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004287/0.4761, allocations: 5.148 MB / 0.5907 GB, free: 15.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006411/0.4825, allocations: 6.784 MB / 0.5973 GB, free: 8.352 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4826, allocations: 0 / 0.5973 GB, free: 8.352 MB / 490.8 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01842/0.501, allocations: 13.66 MB / 0.6107 GB, free: 10.67 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.501, allocations: 8.781 kB / 0.6107 GB, free: 10.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.501, allocations: 11.94 kB / 0.6107 GB, free: 10.65 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01448/0.5155, allocations: 6.998 MB / 0.6175 GB, free: 3.637 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.5178, allocations: 0.6203 MB / 0.6181 GB, free: 3.016 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1876/0.7053, allocations: 26.41 MB / 0.6439 GB, free: 147 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.7072, allocations: 175.1 kB / 0.6441 GB, free: 147 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/0.7075, allocations: 354.7 kB / 0.6444 GB, free: 146.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (134): * Single equations (assignments): 129 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009249/0.7084, allocations: 0.4966 MB / 0.6449 GB, free: 146.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003933/0.7088, allocations: 187.9 kB / 0.6451 GB, free: 146.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.7229, allocations: 8.96 MB / 0.6538 GB, free: 143.4 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01258/0.7355, allocations: 7.39 MB / 0.661 GB, free: 140.5 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.078e-06/0.7355, allocations: 4.109 kB / 0.661 GB, free: 140.5 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.7355, allocations: 7.5 kB / 0.6611 GB, free: 140.5 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/0.7555, allocations: 14.18 MB / 0.6749 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.7555, allocations: 3.875 kB / 0.6749 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.7569, allocations: 352.5 kB / 0.6752 GB, free: 134 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02431/0.7812, allocations: 7.112 MB / 0.6822 GB, free: 129.2 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.7814, allocations: 91.91 kB / 0.6823 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.7948, allocations: 11.52 MB / 0.6935 GB, free: 117.5 MB / 0.4949 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01966/0.8144, allocations: 5.732 MB / 0.6991 GB, free: 111.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/0.8295, allocations: 11.59 MB / 0.7104 GB, free: 100.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/0.8299, allocations: 261.2 kB / 0.7107 GB, free: 99.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.8301, allocations: 36 kB / 0.7107 GB, free: 99.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.8314, allocations: 123.8 kB / 0.7108 GB, free: 99.69 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003604/0.8318, allocations: 192.9 kB / 0.711 GB, free: 99.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/0.8319, allocations: 169.2 kB / 0.7112 GB, free: 99.34 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001328/0.8333, allocations: 1.819 MB / 0.713 GB, free: 97.53 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8333, allocations: 0 / 0.713 GB, free: 97.53 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001919/0.8352, allocations: 0.9437 MB / 0.7139 GB, free: 96.61 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 2 ($cse34,$cse27) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01462/0.8498, allocations: 11.58 MB / 0.7252 GB, free: 85.03 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.007045/0.8568, allocations: 7.456 MB / 0.7325 GB, free: 77.59 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8569, allocations: 6.688 kB / 0.7325 GB, free: 77.59 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003403/0.8603, allocations: 2.895 MB / 0.7353 GB, free: 74.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.8616, allocations: 415.9 kB / 0.7357 GB, free: 74.36 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.7300774017348886]