Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.8378/0.8378, allocations: 150.8 MB / 166.6 MB, free: 11.13 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002374, allocations: 7.984 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 31.33 MB / 236 MB, free: 3.887 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.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField): time 1.546/1.684, allocations: 293.9 MB / 0.5174 GB, free: 8.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03191/1.715, allocations: 28.24 MB / 0.545 GB, free: 12.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004986/1.716, allocations: 7.938 kB / 0.545 GB, free: 12.01 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:184:3-185:48:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:188:3-189:46:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005702/1.717, allocations: 208.2 kB / 0.5452 GB, free: 11.8 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008878/1.717, allocations: 0.5326 MB / 0.5457 GB, free: 11.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01483/1.732, allocations: 5.824 MB / 0.5514 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01879/1.751, allocations: 23.41 MB / 0.5743 GB, free: 13.99 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/1.763, allocations: 7.79 MB / 0.5819 GB, free: 6.133 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/1.776, allocations: 7.495 MB / 0.5892 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01637/1.793, allocations: 9.51 MB / 0.5985 GB, free: 5.09 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005625/1.798, allocations: 0.8281 MB / 0.5993 GB, free: 4.262 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03109/1.829, allocations: 16.86 MB / 0.6158 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.00851/1.838, allocations: 5.373 MB / 0.621 GB, free: 14 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.01805/1.856, allocations: 7.173 MB / 0.628 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.03652/1.893, allocations: 25.16 MB / 0.6526 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.893, allocations: 0 / 0.6526 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.392e-06/1.893, allocations: 0 / 0.6526 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005202/1.893, allocations: 4 kB / 0.6526 GB, free: 13.57 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3588 * Number of variables: 3588 Notification: Performance of Generate backend data structure: time 0.08979/1.983, allocations: 20.77 MB / 0.6729 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/1.983, allocations: 8.031 kB / 0.6729 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005524/1.989, allocations: 1.206 MB / 0.6741 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/2.002, allocations: 4.694 MB / 0.6787 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007645/2.01, allocations: 5.071 MB / 0.6836 GB, free: 12.89 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005396/2.016, allocations: 0.8786 MB / 0.6845 GB, free: 12.01 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3763/2.392, allocations: 26.86 MB / 0.7107 GB, free: 193.1 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002803/2.392, allocations: 0 / 0.7107 GB, free: 193.1 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004256/2.396, allocations: 349.4 kB / 0.711 GB, free: 193.1 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002716/2.397, allocations: 372.8 kB / 0.7114 GB, free: 193.1 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09374/2.49, allocations: 36.66 MB / 0.7472 GB, free: 183.2 MB / 0.573 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.1248/2.615, allocations: 69.06 MB / 0.8146 GB, free: 111.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07523/2.691, allocations: 29.73 MB / 0.8437 GB, free: 82.07 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05054/2.741, allocations: 22.07 MB / 0.8652 GB, free: 59.98 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3129/3.054, allocations: 70.24 MB / 0.9338 GB, free: 184.3 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/3.054, allocations: 201.4 kB / 0.934 GB, free: 184.3 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2995): time 1.875e-05/3.054, allocations: 0 / 0.934 GB, free: 184.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=2995): time 0.6153/3.67, allocations: 142.9 MB / 1.074 GB, free: 73.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/3.67, allocations: 220.1 kB / 1.074 GB, free: 72.97 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008227/3.671, allocations: 0.7216 MB / 1.074 GB, free: 72.24 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.004338/3.675, allocations: 293.7 kB / 1.075 GB, free: 71.95 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004944/3.675, allocations: 1.096 MB / 1.076 GB, free: 70.88 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.009128/3.685, allocations: 9.89 MB / 1.086 GB, free: 61.07 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01541/3.7, allocations: 3.627 MB / 1.089 GB, free: 57.43 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000106/3.7, allocations: 353.9 kB / 1.089 GB, free: 57.08 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04817/3.748, allocations: 18.92 MB / 1.108 GB, free: 38.14 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2308/3.979, allocations: 20.6 MB / 1.128 GB, free: 171.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1308/4.11, allocations: 38.88 MB / 1.166 GB, free: 165.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.488e-05/4.11, allocations: 7.5 kB / 1.166 GB, free: 165.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=3123) (initialization): time 0.2715/4.382, allocations: 64.77 MB / 1.229 GB, free: 117.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/4.382, allocations: 9.25 kB / 1.229 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002714/4.382, allocations: 67.97 kB / 1.229 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072/5.455, allocations: 323 MB / 1.545 GB, free: 154.3 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/5.456, allocations: 251.2 kB / 1.545 GB, free: 154.3 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.236/5.692, allocations: 80.73 MB / 1.624 GB, free: 134.8 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02449/5.716, allocations: 4.33 MB / 1.628 GB, free: 131.8 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004971/5.721, allocations: 0.7617 MB / 1.629 GB, free: 131.2 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,sinkP.C.a,dynamicTwoPhaseFlowPipe.C2.b,dynamicTwoPhaseFlowPipe.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,1517)} Notification: Performance of prepare postOptimizeDAE: time 0.01183/5.733, allocations: 2.981 MB / 1.632 GB, free: 128.8 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00506/5.738, allocations: 0.8912 MB / 1.633 GB, free: 127.9 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.255/5.993, allocations: 90.6 MB / 1.721 GB, free: 46.06 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4533/6.446, allocations: 70.4 MB / 1.79 GB, free: 170.9 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001178/6.446, allocations: 7.312 kB / 1.79 GB, free: 170.9 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004518/6.447, allocations: 108.4 kB / 1.79 GB, free: 170.9 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.346/6.793, allocations: 120.1 MB / 1.907 GB, free: 66.09 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003963/6.793, allocations: 55.97 kB / 1.907 GB, free: 66.04 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01723/6.811, allocations: 3.848 MB / 1.911 GB, free: 62.3 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3347/7.145, allocations: 33.71 MB / 1.944 GB, free: 169.3 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007967/7.153, allocations: 0.7902 MB / 1.945 GB, free: 169.3 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3012/7.455, allocations: 217.6 MB / 2.157 GB, free: 9.555 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/7.455, allocations: 3.984 kB / 2.157 GB, free: 9.551 MB / 0.5887 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 6.292/13.75, allocations: 1.379 GB / 3.536 GB, free: 112.7 MB / 0.6512 GB Error: post-optimization module symbolicJacobian (simulation) failed.