Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.SimpleExamples.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFresnelField") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFresnelField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7935/0.7935, allocations: 150.8 MB / 166.6 MB, free: 11.17 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003374/0.0003374, allocations: 15.98 kB / 204.7 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1529, allocations: 31.32 MB / 236 MB, free: 3.871 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.SimpleExamples.TestFresnelField): time 1.543/1.696, allocations: 294.6 MB / 0.5182 GB, free: 7.414 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05121/1.748, allocations: 40.92 MB / 0.5581 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006669/1.748, allocations: 11.94 kB / 0.5581 GB, free: 14.61 MB / 458.7 MB [/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). [/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/Junctions/MassFlowMultiplier.mo:16:3-18:16:writable] Warning: Connector Ce 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/Junctions/MassFlowMultiplier.mo:19:3-20:52:writable] Warning: Connector Cs 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/Junctions/MassFlowMultiplier.mo:16:3-18:16:writable] Warning: Connector Ce 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/Junctions/MassFlowMultiplier.mo:19:3-20:52:writable] Warning: Connector Cs 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.0008332/1.749, allocations: 228.4 kB / 0.5584 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/1.75, allocations: 0.5752 MB / 0.5589 GB, free: 13.81 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02276/1.773, allocations: 8 MB / 0.5667 GB, free: 5.812 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01995/1.793, allocations: 23.61 MB / 0.5898 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/1.806, allocations: 7.844 MB / 0.5975 GB, free: 6.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01237/1.818, allocations: 7.565 MB / 0.6048 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01601/1.834, allocations: 9.591 MB / 0.6142 GB, free: 5.035 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.005527/1.84, allocations: 0.8359 MB / 0.615 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03617/1.876, allocations: 19.59 MB / 0.6342 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0093/1.886, allocations: 5.404 MB / 0.6394 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.01597/1.902, allocations: 7.247 MB / 0.6465 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.04334/1.945, allocations: 27.4 MB / 0.6733 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.945, allocations: 0 / 0.6733 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/1.945, allocations: 0 / 0.6733 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005088/1.945, allocations: 4 kB / 0.6733 GB, free: 8.418 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3640 * Number of variables: 3640 Notification: Performance of Generate backend data structure: time 0.3952/2.341, allocations: 21.25 MB / 0.694 GB, free: 186 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/2.341, allocations: 8.438 kB / 0.694 GB, free: 186 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00583/2.346, allocations: 1.221 MB / 0.6952 GB, free: 185.4 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/2.36, allocations: 4.743 MB / 0.6998 GB, free: 184.6 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006355/2.367, allocations: 5.075 MB / 0.7048 GB, free: 180.8 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005537/2.372, allocations: 0.9003 MB / 0.7057 GB, free: 180.7 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06972/2.442, allocations: 27.03 MB / 0.7321 GB, free: 166.5 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002907/2.442, allocations: 3.938 kB / 0.7321 GB, free: 166.5 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004407/2.447, allocations: 352 kB / 0.7324 GB, free: 166.2 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002561/2.447, allocations: 392.7 kB / 0.7328 GB, free: 165.8 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.106/2.553, allocations: 36.74 MB / 0.7687 GB, free: 129 MB / 0.5574 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.1338/2.687, allocations: 70.07 MB / 0.8371 GB, free: 56.07 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07518/2.762, allocations: 29.79 MB / 0.8662 GB, free: 26.21 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05079/2.813, allocations: 22.13 MB / 0.8878 GB, free: 4.055 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4011/3.214, allocations: 114.4 MB / 0.9995 GB, free: 89.02 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/3.214, allocations: 197.3 kB / 0.9997 GB, free: 88.91 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=3019): time 1.901e-05/3.214, allocations: 4 kB / 0.9997 GB, free: 88.91 MB / 0.5574 GB Notification: Performance of matching and sorting (n=3019): time 0.8203/4.034, allocations: 143.6 MB / 1.14 GB, free: 183.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/4.035, allocations: 218 kB / 1.14 GB, free: 183.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/4.036, allocations: 0.7715 MB / 1.141 GB, free: 183.4 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.006276/4.042, allocations: 295.5 kB / 1.141 GB, free: 183.3 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/4.043, allocations: 1.129 MB / 1.142 GB, free: 182.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.01263/4.055, allocations: 9.975 MB / 1.152 GB, free: 175.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02024/4.076, allocations: 3.639 MB / 1.156 GB, free: 173.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/4.076, allocations: 304.7 kB / 1.156 GB, free: 173 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05131/4.127, allocations: 18.96 MB / 1.174 GB, free: 162 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05403/4.181, allocations: 20.68 MB / 1.195 GB, free: 141.2 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1041/4.285, allocations: 39.01 MB / 1.233 GB, free: 102 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.811e-05/4.285, allocations: 4 kB / 1.233 GB, free: 102 MB / 0.573 GB Notification: Performance of matching and sorting (n=3151) (initialization): time 0.1949/4.48, allocations: 65.2 MB / 1.296 GB, free: 36.69 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/4.48, allocations: 8.625 kB / 1.296 GB, free: 36.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002265/4.48, allocations: 76.45 kB / 1.296 GB, free: 36.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139/5.62, allocations: 318.4 MB / 1.607 GB, free: 97.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/5.621, allocations: 265.2 kB / 1.608 GB, free: 97.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2162/5.837, allocations: 80.75 MB / 1.686 GB, free: 41.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02713/5.864, allocations: 4.34 MB / 1.691 GB, free: 37.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005391/5.87, allocations: 0.7647 MB / 1.691 GB, free: 36.45 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 8 (massFlowMultiplier2.Cs.b,massFlowMultiplier2.Ce.a,massFlowMultiplier1.Cs.b,massFlowMultiplier1.Ce.a,sinkP.C.a,dynamicTwoPhaseFlowPipe.C2.b,dynamicTwoPhaseFlowPipe.C1.a,sourceP.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0115/5.881, allocations: 3.009 MB / 1.694 GB, free: 33.45 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005561/5.887, allocations: 0.9061 MB / 1.695 GB, free: 32.53 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.449/6.336, allocations: 89.76 MB / 1.783 GB, free: 155.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2258/6.562, allocations: 69.29 MB / 1.851 GB, free: 86.14 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001188/6.562, allocations: 9.812 kB / 1.851 GB, free: 86.13 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005191/6.563, allocations: 111.6 kB / 1.851 GB, free: 86.02 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6511/7.214, allocations: 120.5 MB / 1.968 GB, free: 158.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003728/7.214, allocations: 65.44 kB / 1.968 GB, free: 158.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01789/7.232, allocations: 3.891 MB / 1.972 GB, free: 158.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1402/7.372, allocations: 33.7 MB / 2.005 GB, free: 133.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006988/7.379, allocations: 0.7931 MB / 2.006 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5224/7.902, allocations: 217.6 MB / 2.218 GB, free: 102.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/7.902, allocations: 3.75 kB / 2.218 GB, free: 102.7 MB / 0.573 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.935/13.84, allocations: 1.382 GB / 3.6 GB, free: 40.39 MB / 0.6355 GB Error: post-optimization module symbolicJacobian (simulation) failed.