Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFresnelField") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFresnelField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8038/0.8038, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002615, allocations: 11.98 kB / 204.7 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1477, allocations: 31.33 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.Fluid.Examples.SimpleExamples.TestFresnelField): time 1.563/1.711, allocations: 295.6 MB / 0.5192 GB, free: 6.383 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4917/2.203, allocations: 196 MB / 0.7106 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/2.204, allocations: 18.09 kB / 0.7106 GB, free: 2.438 MB / 0.5573 GB [/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). [/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/Junctions/MassFlowMultiplier.mo:43:3-44:67:writable] Warning: Connector Ce 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/Junctions/MassFlowMultiplier.mo:45:3-46:65:writable] Warning: Connector Cs 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/Junctions/MassFlowMultiplier.mo:43:3-44:67:writable] Warning: Connector Ce 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/Junctions/MassFlowMultiplier.mo:45:3-46:65:writable] Warning: Connector Cs 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.0006996/2.204, allocations: 259.6 kB / 0.7109 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/2.206, allocations: 0.7262 MB / 0.7116 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03064/2.236, allocations: 10.34 MB / 0.7217 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.02146/2.258, allocations: 27.82 MB / 0.7488 GB, free: 14.48 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01748/2.275, allocations: 9.013 MB / 0.7576 GB, free: 7.773 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.018/2.293, allocations: 8.487 MB / 0.7659 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02096/2.314, allocations: 10.85 MB / 0.7765 GB, free: 5.406 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.007244/2.322, allocations: 1.012 MB / 0.7775 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05361/2.375, allocations: 22.77 MB / 0.7997 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.01072/2.386, allocations: 6.467 MB / 0.8061 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.02113/2.407, allocations: 8.486 MB / 0.8143 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.05594/2.463, allocations: 32.32 MB / 0.8459 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/2.463, allocations: 0 / 0.8459 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.794e-06/2.463, allocations: 0 / 0.8459 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0007764/2.464, allocations: 0 / 0.8459 GB, free: 1.027 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: 4357 * Number of variables: 4357 Notification: Performance of Generate backend data structure: time 0.1/2.564, allocations: 23.3 MB / 0.8687 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/2.564, allocations: 8.031 kB / 0.8687 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008298/2.573, allocations: 1.51 MB / 0.8701 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0186/2.591, allocations: 5.776 MB / 0.8758 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009503/2.601, allocations: 6.358 MB / 0.882 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0075/2.608, allocations: 1.168 MB / 0.8831 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09498/2.703, allocations: 32.71 MB / 0.9151 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005087/2.704, allocations: 36.34 kB / 0.9151 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005758/2.71, allocations: 492 kB / 0.9156 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004412/2.71, allocations: 467.8 kB / 0.916 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5066/3.217, allocations: 49.91 MB / 0.9648 GB, free: 366.1 MB / 0.7605 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.169/3.386, allocations: 104.9 MB / 1.067 GB, free: 300 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07648/3.462, allocations: 32.15 MB / 1.099 GB, free: 268.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05617/3.518, allocations: 24.59 MB / 1.123 GB, free: 243.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2882/3.807, allocations: 155.1 MB / 1.274 GB, free: 72.68 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/3.807, allocations: 225.3 kB / 1.274 GB, free: 72.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=3250): time 0.0001203/3.807, allocations: 0.5156 kB / 1.274 GB, free: 72.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=3250): time 0.8365/4.644, allocations: 147.2 MB / 1.418 GB, free: 338.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/4.644, allocations: 246 kB / 1.418 GB, free: 338.3 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/4.647, allocations: 2.293 MB / 1.421 GB, free: 337.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.005126/4.652, allocations: 335.6 kB / 1.421 GB, free: 336.8 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/4.653, allocations: 2.256 MB / 1.423 GB, free: 334.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0112/4.664, allocations: 10.8 MB / 1.434 GB, free: 325.4 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01496/4.679, allocations: 4.427 MB / 1.438 GB, free: 321.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.996e-05/4.679, allocations: 301.1 kB / 1.438 GB, free: 321.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05448/4.733, allocations: 21.36 MB / 1.459 GB, free: 299.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05661/4.79, allocations: 24.82 MB / 1.483 GB, free: 274 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1046/4.895, allocations: 45.97 MB / 1.528 GB, free: 227.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.497e-05/4.895, allocations: 20 kB / 1.528 GB, free: 227.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=3652) (initialization): time 0.1916/5.086, allocations: 71.75 MB / 1.598 GB, free: 155.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.791e-05/5.087, allocations: 38.8 kB / 1.598 GB, free: 155.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/5.087, allocations: 132 kB / 1.598 GB, free: 155.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04/6.127, allocations: 331.5 MB / 1.922 GB, free: 338.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005918/6.133, allocations: 1.424 MB / 1.924 GB, free: 338.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2122/6.346, allocations: 80.81 MB / 2.003 GB, free: 316.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02949/6.375, allocations: 4.966 MB / 2.007 GB, free: 313.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00638/6.381, allocations: 0.9925 MB / 2.008 GB, free: 312.3 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 309 * Number of states: 0 () * Number of discrete variables: 16 (massFlowMultiplier2.fluid1,massFlowMultiplier1.fluid1,massFlowMultiplier2.Cs.ftype,massFlowMultiplier1.Cs.ftype,massFlowMultiplier2.fluids[1],sourceP.C.ftype,massFlowMultiplier1.fluids[1],dynamicTwoPhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,massFlowMultiplier2.Cs.diff_on_1,massFlowMultiplier2.Ce.diff_on_2,massFlowMultiplier1.Cs.diff_on_1,massFlowMultiplier1.Ce.diff_on_2,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 (615): * Single equations (assignments): 612 * 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 {(97,1581)} Notification: Performance of prepare postOptimizeDAE: time 0.01577/6.397, allocations: 3.664 MB / 2.012 GB, free: 309.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007465/6.405, allocations: 1.103 MB / 2.013 GB, free: 308.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2515/6.656, allocations: 80.33 MB / 2.091 GB, free: 228.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2268/6.883, allocations: 71.5 MB / 2.161 GB, free: 156.6 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001305/6.883, allocations: 8 kB / 2.161 GB, free: 156.6 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007424/6.884, allocations: 119.5 kB / 2.161 GB, free: 156.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5925/7.477, allocations: 128.8 MB / 2.287 GB, free: 313.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004605/7.477, allocations: 63.77 kB / 2.287 GB, free: 313.2 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02138/7.498, allocations: 4.545 MB / 2.292 GB, free: 311.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1267/7.625, allocations: 30.88 MB / 2.322 GB, free: 284.2 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007084/7.632, allocations: 0.8622 MB / 2.323 GB, free: 283.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2866/7.919, allocations: 215.7 MB / 2.533 GB, free: 56.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.919, allocations: 8.016 kB / 2.533 GB, free: 56.29 MB / 0.7605 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.014/12.93, allocations: 1.261 GB / 3.795 GB, free: 165.4 MB / 0.7605 GB Error: post-optimization module symbolicJacobian (simulation) failed.