Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField.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.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8376/0.8376, allocations: 150.8 MB / 166.6 MB, free: 11.12 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.000293, allocations: 19.97 kB / 204.7 MB, free: 6.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1678, allocations: 31.32 MB / 236 MB, free: 3.895 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField): time 1.6/1.768, allocations: 294.5 MB / 0.5181 GB, free: 7.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4614/2.23, allocations: 194.1 MB / 0.7077 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005209/2.23, allocations: 17.12 kB / 0.7077 GB, free: 0.8984 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:233:3-234:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:237:3-238:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005544/2.231, allocations: 238.9 kB / 0.7079 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009315/2.232, allocations: 0.6366 MB / 0.7086 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02322/2.255, allocations: 9.861 MB / 0.7182 GB, free: 15.1 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0189/2.274, allocations: 27.41 MB / 0.745 GB, free: 7.91 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0151/2.289, allocations: 8.786 MB / 0.7535 GB, free: 3.867 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01607/2.305, allocations: 8.333 MB / 0.7617 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02015/2.325, allocations: 10.68 MB / 0.7721 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.007352/2.333, allocations: 0.9844 MB / 0.7731 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04472/2.378, allocations: 22.06 MB / 0.7946 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.01059/2.388, allocations: 6.367 MB / 0.8008 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.02179/2.41, allocations: 8.304 MB / 0.8089 GB, free: 56 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.05031/2.46, allocations: 31.64 MB / 0.8398 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/2.46, allocations: 4 kB / 0.8398 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.453e-06/2.46, allocations: 0 / 0.8398 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005553/2.461, allocations: 0 / 0.8398 GB, free: 1.648 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4263 * Number of variables: 4263 Notification: Performance of Generate backend data structure: time 0.09612/2.557, allocations: 22.86 MB / 0.8622 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/2.557, allocations: 8.031 kB / 0.8622 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008289/2.565, allocations: 1.468 MB / 0.8636 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/2.583, allocations: 5.646 MB / 0.8691 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008835/2.591, allocations: 6.326 MB / 0.8753 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006338/2.598, allocations: 1.14 MB / 0.8764 GB, free: 11.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08817/2.686, allocations: 32.27 MB / 0.9079 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004576/2.686, allocations: 35.69 kB / 0.908 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005331/2.692, allocations: 472 kB / 0.9084 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000441/2.692, allocations: 459.6 kB / 0.9088 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.124/2.816, allocations: 49.66 MB / 0.9573 GB, free: 7.445 MB / 0.7761 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.4747/3.291, allocations: 105.9 MB / 1.061 GB, free: 329.1 MB / 0.7762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07891/3.37, allocations: 32.05 MB / 1.092 GB, free: 300.8 MB / 0.7762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05416/3.424, allocations: 24.49 MB / 1.116 GB, free: 276.5 MB / 0.7762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1501/3.574, allocations: 84.18 MB / 1.198 GB, free: 183.3 MB / 0.7762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/3.575, allocations: 217.2 kB / 1.198 GB, free: 183.1 MB / 0.7762 GB Notification: Performance of pre-optimization done (n=3231): time 7.108e-05/3.575, allocations: 4 kB / 1.198 GB, free: 183.1 MB / 0.7762 GB Notification: Performance of matching and sorting (n=3231): time 0.6366/4.211, allocations: 147 MB / 1.342 GB, free: 33.71 MB / 0.7762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/4.211, allocations: 246 kB / 1.342 GB, free: 33.46 MB / 0.7762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002485/4.214, allocations: 2.088 MB / 1.344 GB, free: 31.34 MB / 0.7762 GB Notification: Performance of collectPreVariables (initialization): time 0.004608/4.219, allocations: 329.7 kB / 1.345 GB, free: 31.01 MB / 0.7762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/4.22, allocations: 2.118 MB / 1.347 GB, free: 28.88 MB / 0.7762 GB Notification: Performance of collectInitialBindings (initialization): time 0.01048/4.23, allocations: 10.74 MB / 1.357 GB, free: 18.23 MB / 0.7762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02117/4.251, allocations: 4.353 MB / 1.361 GB, free: 13.87 MB / 0.7762 GB Notification: Performance of setup shared object (initialization): time 4.134e-05/4.251, allocations: 301.1 kB / 1.362 GB, free: 13.57 MB / 0.7762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2406/4.492, allocations: 21.26 MB / 1.382 GB, free: 370.1 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05858/4.551, allocations: 24.59 MB / 1.406 GB, free: 367.6 MB / 0.7762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1125/4.663, allocations: 45.59 MB / 1.451 GB, free: 351.5 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-05/4.663, allocations: 20 kB / 1.451 GB, free: 351.5 MB / 0.7762 GB Notification: Performance of matching and sorting (n=3611) (initialization): time 0.2003/4.864, allocations: 71.48 MB / 1.521 GB, free: 282.5 MB / 0.7762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/4.864, allocations: 33.25 kB / 1.521 GB, free: 282.4 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003538/4.864, allocations: 124 kB / 1.521 GB, free: 282.3 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8327/5.697, allocations: 329.5 MB / 1.843 GB, free: 250.5 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005886/5.703, allocations: 1.365 MB / 1.844 GB, free: 249.5 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2087/5.912, allocations: 80.46 MB / 1.923 GB, free: 194.7 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02989/5.941, allocations: 4.909 MB / 1.927 GB, free: 191.1 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005972/5.947, allocations: 0.9801 MB / 1.928 GB, free: 190.4 MB / 0.7762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 285 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.fluid1,sourceP.C.ftype,dynamicTwoPhaseFlowPipe.fluid,sinkP.fluid,dynamicTwoPhaseFlowPipe.C1.diff_on_2,dynamicTwoPhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 581 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(91,1577)} Notification: Performance of prepare postOptimizeDAE: time 0.0144/5.962, allocations: 3.603 MB / 1.932 GB, free: 187.5 MB / 0.7762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007593/5.969, allocations: 1.076 MB / 1.933 GB, free: 186.4 MB / 0.7762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2509/6.22, allocations: 79.53 MB / 2.011 GB, free: 114 MB / 0.7762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4264/6.647, allocations: 70.67 MB / 2.08 GB, free: 351.8 MB / 0.7762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001482/6.647, allocations: 10.02 kB / 2.08 GB, free: 351.8 MB / 0.7762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005512/6.648, allocations: 117.7 kB / 2.08 GB, free: 351.8 MB / 0.7762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4075/7.055, allocations: 128 MB / 2.205 GB, free: 251.7 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000424/7.056, allocations: 67.95 kB / 2.205 GB, free: 251.7 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02142/7.077, allocations: 4.523 MB / 2.209 GB, free: 247.3 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1241/7.201, allocations: 30.63 MB / 2.239 GB, free: 216.7 MB / 0.7762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007149/7.208, allocations: 0.8583 MB / 2.24 GB, free: 215.9 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5421/7.75, allocations: 214.1 MB / 2.449 GB, free: 320.3 MB / 0.7762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/7.75, allocations: 0 / 2.449 GB, free: 320.3 MB / 0.7762 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 5.047/12.8, allocations: 1.252 GB / 3.701 GB, free: 203.8 MB / 0.7762 GB Error: post-optimization module symbolicJacobian (simulation) failed.