Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticFan") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8603/0.8603, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.84e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1842, allocations: 31.98 MB / 236.8 MB, free: 5.441 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticFan): time 1.673/1.857, allocations: 301.3 MB / 0.5254 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.55/2.407, allocations: 190.4 MB / 0.7114 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/2.41, allocations: 41.47 kB / 0.7114 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/2.411, allocations: 223.6 kB / 0.7116 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003167/2.414, allocations: 0.7533 MB / 0.7123 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03586/2.45, allocations: 10.21 MB / 0.7223 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00465/2.455, allocations: 3.454 MB / 0.7257 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/2.457, allocations: 1.492 MB / 0.7272 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/2.459, allocations: 1.096 MB / 0.7282 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/2.462, allocations: 1.27 MB / 0.7295 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008104/2.463, allocations: 150.5 kB / 0.7296 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04318/2.506, allocations: 20.34 MB / 0.7495 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001591/2.508, allocations: 0.5228 MB / 0.75 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004293/2.512, allocations: 1.379 MB / 0.7513 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03451/2.546, allocations: 12.84 MB / 0.7639 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/2.546, allocations: 0 / 0.7639 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.757e-06/2.546, allocations: 2.844 kB / 0.7639 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001957/2.547, allocations: 0 / 0.7639 GB, free: 11.34 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 785 * Number of variables: 785 Notification: Performance of Generate backend data structure: time 0.01041/2.557, allocations: 3.737 MB / 0.7675 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/2.557, allocations: 8.469 kB / 0.7675 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009822/2.558, allocations: 346.6 kB / 0.7679 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/2.56, allocations: 1.136 MB / 0.769 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/2.561, allocations: 290.2 kB / 0.7692 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000668/2.561, allocations: 318 kB / 0.7695 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00681/2.568, allocations: 3.409 MB / 0.7729 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.289e-05/2.568, allocations: 18.95 kB / 0.7729 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003547/2.569, allocations: 134.6 kB / 0.773 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.611e-05/2.569, allocations: 84.58 kB / 0.7731 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005431/2.574, allocations: 2.538 MB / 0.7756 GB, free: 6.449 MB / 0.5919 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.02265/2.597, allocations: 23.89 MB / 0.7989 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/2.599, allocations: 1.308 MB / 0.8002 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/2.601, allocations: 0.7148 MB / 0.8009 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3297/2.93, allocations: 175.3 MB / 0.9721 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001961/2.932, allocations: 0.8776 MB / 0.973 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=127): time 5.962e-06/2.932, allocations: 3.984 kB / 0.973 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=204): time 0.2748/3.207, allocations: 22.44 MB / 0.9949 GB, free: 452.6 MB / 0.8106 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 inlineWhenForInitialization (initialization): time 0.007554/3.215, allocations: 2.496 MB / 0.9973 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/3.217, allocations: 1.384 MB / 0.9987 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002641/3.217, allocations: 64.92 kB / 0.9988 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009321/3.218, allocations: 1.329 MB / 1 GB, free: 450.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009575/3.219, allocations: 0.7061 MB / 1.001 GB, free: 450.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006532/3.22, allocations: 304.5 kB / 1.001 GB, free: 450.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.361e-05/3.22, allocations: 305.4 kB / 1.001 GB, free: 449.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00386/3.224, allocations: 1.721 MB / 1.003 GB, free: 449.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004585/3.228, allocations: 2.931 MB / 1.006 GB, free: 448.4 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007774/3.236, allocations: 4.637 MB / 1.01 GB, free: 446.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-05/3.236, allocations: 11.66 kB / 1.01 GB, free: 446.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01198/3.248, allocations: 5.971 MB / 1.016 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/3.248, allocations: 22.38 kB / 1.016 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.591e-05/3.248, allocations: 38.81 kB / 1.016 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0276/3.276, allocations: 5.876 MB / 1.022 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/3.278, allocations: 451.9 kB / 1.022 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/3.286, allocations: 4.02 MB / 1.026 GB, free: 442.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005976/3.292, allocations: 0.645 MB / 1.027 GB, free: 442.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005736/3.293, allocations: 213.2 kB / 1.027 GB, free: 442.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 85 ($PRE.singularPressureLossFlueGases2.touvert,$whenCondition4,$PRE.singularPressureLossFlueGases2.tferme,$whenCondition3,$PRE.singularPressureLossFlueGases5.touvert,$whenCondition2,$PRE.singularPressureLossFlueGases5.tferme,$whenCondition1,temperatureSensor1.C1.diff_on_2,singularPressureLossFlueGases5.C2.diff_on_1,temperatureSensor.C1.diff_on_2,singularPressureLossFlueGases2.C2.diff_on_1,dynamicExchanger1.Cs1.ftype,dynamicExchanger.Cs1.ftype,volume2S.Cs3.ftype,volume2S.Cs2.ftype,volume2S.Cs1.ftype,Source_Fumees.C.ftype,volume2S.fluids[1],mixerFlueGases2_1.Cs.ftype,mixerFlueGases2_1.fluids[1],staticFan1.commandeFan.signal,dynamicExchanger1.Cs2.ftype,dynamicExchanger1.Ce2.ftype,dynamicExchanger1.fluids[1],staticFan.commandeFan.signal,dynamicExchanger.Cs2.ftype,dynamicExchanger.Ce2.ftype,dynamicExchanger.fluids[1],staticFan.fluid,staticFan1.fluid,Puits_Fumees.fluid,singularPressureLossFlueGases.fluid,singularPressureLossFlueGases1.fluid,singularPressureLossFlueGases2.fluid,singularPressureLossFlueGases3.fluid,singularPressureLossFlueGases4.fluid,singularPressureLossFlueGases5.fluid,temperatureSensor.fluid,temperatureSensor1.fluid,singularPressureLossFlueGases5.tferme,singularPressureLossFlueGases5.touvert,singularPressureLossFlueGases5.ouvert,$PRE.singularPressureLossFlueGases5.ouvert,singularPressureLossFlueGases2.tferme,singularPressureLossFlueGases2.touvert,singularPressureLossFlueGases2.ouvert,$PRE.singularPressureLossFlueGases2.ouvert,volume2S.fluid1,mixerFlueGases2_1.fluid1,dynamicExchanger1.fluid1,dynamicExchanger.fluid1,Source_Fumees.fluid1,mixerFlueGases2_1.Ce2.diff_on_2,staticFan1.C2.diff_on_2,singularPressureLossFlueGases3.C2.diff_on_2,dynamicExchanger1.Cs1.diff_on_1,singularPressureLossFlueGases3.C2.diff_on_1,staticFan1.C2.diff_on_1,mixerFlueGases2_1.Ce1.diff_on_2,staticFan.C2.diff_on_2,singularPressureLossFlueGases.C2.diff_on_2,dynamicExchanger.Cs1.diff_on_1,singularPressureLossFlueGases.C2.diff_on_1,staticFan.C2.diff_on_1,volume2S.Cs3.diff_on_1,volume2S.Cs2.diff_on_1,singularPressureLossFlueGases4.C2.diff_on_1,volume2S.Cs1.diff_on_1,singularPressureLossFlueGases1.C2.diff_on_1,volume2S.Ce.diff_on_2,volume2S.Cs3.diff_on_2,mixerFlueGases2_1.Cs.diff_on_1,dynamicExchanger1.Ce1.diff_on_2,volume2S.Cs2.diff_on_2,dynamicExchanger1.Cs2.diff_on_1,dynamicExchanger1.Ce2.diff_on_2,dynamicExchanger1.Cs2.diff_on_2,dynamicExchanger1.Ce2.diff_on_1,dynamicExchanger.Ce1.diff_on_2,volume2S.Cs1.diff_on_2,dynamicExchanger.Cs2.diff_on_1,dynamicExchanger.Ce2.diff_on_2,dynamicExchanger.Cs2.diff_on_2,dynamicExchanger.Ce2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (253): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(49,91)} Notification: Performance of prepare postOptimizeDAE: time 0.001673/3.295, allocations: 0.5698 MB / 1.028 GB, free: 441.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005732/3.295, allocations: 201.6 kB / 1.028 GB, free: 441.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009599/3.305, allocations: 4.683 MB / 1.033 GB, free: 437.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009006/3.314, allocations: 4.52 MB / 1.037 GB, free: 432.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.857e-05/3.314, allocations: 7.938 kB / 1.037 GB, free: 432.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/3.314, allocations: 19.95 kB / 1.037 GB, free: 432.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01894/3.333, allocations: 11.1 MB / 1.048 GB, free: 421.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/3.333, allocations: 4 kB / 1.048 GB, free: 421.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009765/3.334, allocations: 227.7 kB / 1.048 GB, free: 421.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02231/3.356, allocations: 5.023 MB / 1.053 GB, free: 416.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006166/3.357, allocations: 95.88 kB / 1.053 GB, free: 416.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/3.368, allocations: 5.295 MB / 1.058 GB, free: 411 MB / 0.8106 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.006348/3.375, allocations: 1.997 MB / 1.06 GB, free: 409 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/3.393, allocations: 8.185 MB / 1.068 GB, free: 400.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/3.395, allocations: 0.5958 MB / 1.069 GB, free: 400.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005277/3.395, allocations: 47.98 kB / 1.069 GB, free: 400.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003498/3.399, allocations: 423.4 kB / 1.069 GB, free: 399.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003961/3.399, allocations: 174.3 kB / 1.069 GB, free: 399.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/3.399, allocations: 107.9 kB / 1.069 GB, free: 399.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001127/3.401, allocations: 0.7976 MB / 1.07 GB, free: 398.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/3.401, allocations: 0 / 1.07 GB, free: 398.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00941/3.41, allocations: 3.529 MB / 1.074 GB, free: 395.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 ($STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,singularPressureLossFlueGases2.ouvert,singularPressureLossFlueGases2.touvert,singularPressureLossFlueGases2.tferme,singularPressureLossFlueGases5.ouvert,singularPressureLossFlueGases5.touvert,singularPressureLossFlueGases5.tferme,singularPressureLossFlueGases2.C2.diff_on_1,temperatureSensor.C1.diff_on_2,singularPressureLossFlueGases5.C2.diff_on_1,temperatureSensor1.C1.diff_on_2) * Number of discrete states: 4 (singularPressureLossFlueGases2.touvert,singularPressureLossFlueGases2.tferme,singularPressureLossFlueGases5.touvert,singularPressureLossFlueGases5.tferme) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(23,38), (28,44)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01327/3.423, allocations: 3.456 MB / 1.077 GB, free: 392.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.011/3.434, allocations: 4.875 MB / 1.082 GB, free: 387.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/3.434, allocations: 4 kB / 1.082 GB, free: 387.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007622/3.442, allocations: 3.128 MB / 1.085 GB, free: 384.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/3.446, allocations: 417.6 kB / 1.085 GB, free: 384 MB / 0.8106 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4560:9-4560:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:764:5-764:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]